KSPGCRSetRestart#
Sets number of iterations at which GCR restarts.
Synopsis#
#include "petscksp.h"
PetscErrorCode KSPGCRSetRestart(KSP ksp, PetscInt restart)
Not Collective
Input Parameters#
ksp - the Krylov space context
restart - integer restart value
Note: The default value is 30.
See Also#
KSPSetTolerances()
, KSPGCRGetRestart()
, KSPGMRESSetRestart()
Level#
intermediate
Location#
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