SNESSetDivergenceTolerance#
Sets the divergence tolerance used for the SNES
divergence test.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESSetDivergenceTolerance(SNES snes, PetscReal divtol)
Logically Collective
Input Parameters#
snes - the
SNES
contextdivtol - the divergence tolerance. Use
PETSC_UNLIMITED
to deactivate the test.
Options Database Key#
-snes_divergence_tolerance
- Setsdivtol
Notes#
Use PETSC_DETERMINE
to use the default value from when the object’s type was set.
Fortran Note#
Use ``PETSC_DETERMINE_REALor
PETSC_UNLIMITED_REAL`
See Also#
SNES: Nonlinear Solvers, SNES
, SNESSolve()
, SNESSetTolerances()
, SNESGetDivergenceTolerance()
Level#
intermediate
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages