KSPGMRESPrestartSet

Sets the number of vectors that GMRES will reuse in future solves from the first solver after this call.

Synopsis

int KSPGMRESPrestartSet(KSP ksp,int pre)
Collective on KSP

Input Parameter

ksp - iterative context obtained from KSPCreate
pre - number of directions

Options Database Key

-ksp_gmres_prestart <pre> -

Keywords

KSP, GMRES, vectors prestarted GMRES

See Also

KSPGMRESSetRestart(), KSPGMRESSetOrthogonalization()

Level:intermediate
Location:src/sles/ksp/impls/gmres/gmpre.c
KSP Index
Table of Contents