petsc-3.9.4 2018-09-11
Report Typos and Errors

SNESSetDivergenceTolerance

Sets the divergence tolerance used for the SNES divergence test.

Synopsis

#include "petscsnes.h"  
PetscErrorCode  SNESSetDivergenceTolerance(SNES snes,PetscReal divtol)
Logically Collective on SNES

Input Parameters

snes - the SNES context
divtol - the divergence tolerance. Use -1 to deactivate the test.

Options Database Keys

Notes

The default divergence tolerance is 1e4.

Keywords

SNES, nonlinear, set, divergence, tolerance

See Also

SNESSetTolerances(), SNESGetDivergenceTolerance

Level

intermediate

Location

src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages
-snes_divergence_tolerance <divtol> - Sets divtol