#include "petscsnes.h" PetscErrorCode SNESSetMaxLinearSolveFailures(SNES snes, PetscInt maxFails)Logically Collective on SNES
snes | - SNES context | |
maxFails | - maximum allowed linear solve failures |
-snes_max_linear_solve_fail <num> | - The number of failures before the solve is terminated |