KSPFCGGetMmax#

get the maximum number of previous directions KSPFCG will store

Synopsis#

#include "petscksp.h"  
PetscErrorCode KSPFCGGetMmax(KSP ksp, PetscInt *mmax)

Not Collective

Input Parameter#

  • ksp - the Krylov space context

Output Parameter#

  • mmax - the maximum number of previous directions allowed for orthogonalization

Note#

FCG stores mmax+1 directions at most (mmax previous ones, and one current one)

See Also#

KSP: Linear System Solvers, KSPFCG, KSPFCGGetTruncationType(), KSPFCGGetNprealloc(), KSPFCGSetMmax()

Level#

intermediate

Location#

src/ksp/ksp/impls/fcg/fcg.c


Edit on GitLab

Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages