:orphan: # KSPPIPEFCGGetMmax get the maximum number of previous directions `KSPPIPEFCG` will store ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPPIPEFCGGetMmax(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 ## Options Database Key - ***-ksp_pipefcg_mmax -*** maximum number of previous directions ## See Also [](ch_ksp), `KSPPIPEFCG`, `KSPPIPEFCGGetTruncationType()`, `KSPPIPEFCGGetNprealloc()`, `KSPPIPEFCGSetMmax()` ## Level intermediate ## Location src/ksp/ksp/impls/fcg/pipefcg/pipefcg.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/fcg/pipefcg/pipefcg.c) [Index of all KSP routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)