KSPGuessSetType#
Sets the type of a KSPGuess. Each KSPGuessType provides a different algorithm for computing the initial guess.
Synopsis#
#include "petscksp.h"  
PetscErrorCode KSPGuessSetType(KSPGuess guess, KSPGuessType type)
Logically Collective
Input Parameters#
- guess - the initial guess object for the Krylov method 
- type - a known - KSPGuessType
Options Database Key#
- -ksp_guess_type - - Turns on generation of initial guesses and sets the method; see- KSPGuessTypefor a list of available types
See Also#
KSP: Linear System Solvers, KSP, KSPGuess, KSPGuessType, KSPGuessRegister(), KSPGuessCreate(), KSPGUESSFISCHER, KSPGUESSPOD
Level#
developer
Location#
src/ksp/ksp/interface/iguess.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages