PETSc version 3.17.0
Fix/Edit manual page

# 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

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