#include "petscksp.h" PetscErrorCode KSPGMRESSetBreakdownTolerance(KSP ksp,PetscReal tol)Logically Collective on ksp
ksp | - the Krylov space context | |
tol | - the tolerance |
-ksp_gmres_breakdown_tolerance <positive real value> | - set tolerance for determining divergence breakdown |
Note: divergence breakdown occurs when GMRES residual increases significantly during restart