#include "petscsnes.h" PetscErrorCode SNESGetLinearSolveFailures(SNES snes,PetscInt *nfails)Not Collective
snes | - SNES context |
nfails | - number of failed solves |
-snes_max_linear_solve_fail <num> | - The number of failures before the solve is terminated |