#include "petscsnes.h" PetscErrorCode SNESGetMaxNonlinearStepFailures(SNES snes, PetscInt *maxFails)