petsc-3.14.6 2021-03-30
Report Typos and Errors

KSPGCRGetRestart

Gets number of iterations at which GCR restarts.

Synopsis

#include "petscksp.h" 
PetscErrorCode KSPGCRGetRestart(KSP ksp, PetscInt *restart)
Not Collective

Input Parameter

ksp - the Krylov space context

Output Parameter

restart - integer restart value

Note: The default value is 30.

See Also

KSPSetTolerances(), KSPGCRSetRestart(), KSPGMRESGetRestart()

Level

intermediate

Location

src/ksp/ksp/impls/gcr/gcr.c

Implementations

KSPGCRGetRestart_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