petsc-3.7.1 2016-05-15
Report Typos and Errors

SNESNGSGetTolerances

Gets various parameters used in convergence tests.

Synopsis

#include "petscsnes.h"  
PetscErrorCode  SNESNGSGetTolerances(SNES snes,PetscReal *atol,PetscReal *rtol,PetscReal *stol,PetscInt *maxit)
Not Collective Many br

Input Parameters

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

Notes

The user can specify NULL for any parameter that is not needed. Many br

Many br

Keywords

SNES, nonlinear, get, convergence, tolerances

See Also

SNESSetTolerances()

Level:intermediate
Location:
src/snes/impls/gs/snesgs.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex5.c.html
src/snes/examples/tutorials/ex15.c.html
src/snes/examples/tutorials/ex19.c.html