:orphan: # KSPGMRESSetBreakdownTolerance Sets tolerance for determining divergence breakdown in `KSPGMRES`. ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPGMRESSetBreakdownTolerance(KSP ksp, PetscReal tol) ``` Logically Collective ## Input Parameters - ***ksp -*** the Krylov space context - ***tol -*** the tolerance ## Options Database Key - ***-ksp_gmres_breakdown_tolerance -*** set tolerance for determining divergence breakdown ## Note Divergence breakdown occurs when GMRES residual increases significantly during restart ## See Also [](ch_ksp), `KSPGMRES`, `KSPSetTolerances()`, `KSPGMRESSetHapTol()` ## Level intermediate ## Location src/ksp/ksp/impls/gmres/gmres.c ## Implementations KSPGMRESSetBreakdownTolerance_GMRES in src/ksp/ksp/impls/gmres/gmres.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/gmres/gmres.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)