:orphan: # KSPPIPEGCRGetMmax get the maximum number of previous directions `KSPPIPEGCR` will store ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPPIPEGCRGetMmax(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 ## See Also [](ch_ksp), `KSPPIPEGCR`, `KSPPIPEGCRGetTruncationType()`, `KSPPIPEGCRGetNprealloc()`, `KSPPIPEGCRSetMmax()` ## Level intermediate ## Location src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/gcr/pipegcr/pipegcr.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)