#include "petscsnes.h" PetscErrorCode SNESSetDivergenceTolerance(SNES snes,PetscReal divtol)Logically Collective on SNES
| snes | - the SNES context | |
| divtol | - the divergence tolerance. Use -1 to deactivate the test. |
| -snes_divergence_tolerance <divtol> | - Sets divtol |