PETSc version 3.15.5
KSPGCRSetRestart
Sets number of iterations at which GCR restarts. 
Synopsis
#include "petscksp.h" 
PetscErrorCode KSPGCRSetRestart(KSP ksp, PetscInt restart)
Not Collective
Input Parameter
|  | ksp | - the Krylov space context | 
|  | restart | - integer restart value | 
Note: The default value is 30.
See Also
 KSPSetTolerances(), KSPGCRGetRestart(), KSPGMRESSetRestart()
Level
intermediate
Location
src/ksp/ksp/impls/gcr/gcr.c
Implementations
KSPGCRSetRestart_GCR in src/ksp/ksp/impls/gcr/gcr.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages