KSPGMRESSetRestart
Sets the number of search directions for GMRES before restart.
Synopsis
int KSPGMRESSetRestart(KSP ksp,int max_k )
Collective on
KSP
Input Parameters
ksp | - the iterative context
|
max_k | - the number of directions
|
Options Database Key
-ksp_gmres_restart <max_k> -Sets max_k
Note
The default value of max_k = 30.
Keywords
GMRES, set, restart
See Also
KSPGMRESSetOrthogonalization(), KSPGMRESSetPreallocateVectors()
Location: src/ksp/impls/gmres/gmres2.c
KSP Index
Table of Contents