KSPGuessCreate#

Creates a KSPGuess context.

Synopsis#

#include "petscksp.h"  
PetscErrorCode KSPGuessCreate(MPI_Comm comm, KSPGuess *guess)

Collective

Input Parameter#

  • comm - MPI communicator

Output Parameter#

  • guess - location to put the KSPGuess context

Notes#

These are generally created automatically by using the option -ksp_guess_type (fischer|pod) and controlled from the options database. See KSPGuessSetFromOptions() for the KSPGuess options database keys

There are two families of methods KSPGUESSFISCHER, developed by Paul Fischer and KSPGUESSPOD

See Also#

KSP: Linear System Solvers, KSPSolve(), KSPGuessDestroy(), KSPGuess, KSPGuessType, KSP

Level#

developer

Location#

src/ksp/ksp/interface/iguess.c

Implementations#

KSPGuessCreate_Fischer() in src/ksp/ksp/guess/impls/fischer/fischer.c
KSPGuessCreate_POD() in src/ksp/ksp/guess/impls/pod/pod.c


Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages