SNESGetTolerances

Gets various parameters used in convergence tests.

Synopsis

int SNESGetTolerances(SNES snes,double *atol,double *rtol,double *stol,int *maxit,int *maxf)
Not Collective

Input Parameters

snes - the SNES context
atol - absolute convergence tolerance
rtol - relative convergence tolerance
stol - convergence tolerance in terms of the norm of the change in the solution between steps
maxit - maximum number of iterations
maxf - maximum number of function evaluations

Notes

The user can specify PETSC_NULL for any parameter that is not needed.

Keywords

SNES, nonlinear, get, convergence, tolerances

See Also

SNESSetTolerances()

Examples

src/snes/examples/tutorials/ex2.c
src/snes/examples/tutorials/ex3.c

Location: src/snes/interface/snes.c
SNES Index
Table of Contents