#include "petscksp.h" PetscErrorCode KSPSetUseFischerGuess(KSP ksp,PetscInt model,PetscInt size)Logically Collective on ksp
ksp | - the Krylov context | |
model | - use model 1, model 2 or any other number to turn it off | |
size | - size of subspace used to generate initial guess |
-ksp_fischer_guess <model,size> | - uses the Fischer initial guess generator for repeated linear solves |