#include "petscsnes.h" PetscErrorCode SNESNGSGetTolerances(SNES snes,PetscReal *atol,PetscReal *rtol,PetscReal *stol,PetscInt *maxit)Not Collective
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 |