slepc-3.6.3 2016-03-29
Report Typos and Errors

# NEPGetTolerances

Gets the tolerance and maximum iteration count used by the NEP convergence tests.

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPGetTolerances(NEP nep,PetscReal *abstol,PetscReal *rtol,PetscReal *stol,PetscInt *maxit,PetscInt *maxf)

Not Collective

### Input Parameter

nep - the nonlinear eigensolver context

### Output Parameters

| abstol | - absolute convergence tolerance
| rtol | - relative convergence tolerance
| stol | - convergence tolerance in terms of the norm of the change in the solution between steps, || delta x || < stol*|| x ||
| maxit | - maximum number of iterations
| maxf | - maximum number of function evaluations

### Notes

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

### See Also

NEPSetTolerances()

Location: src/nep/interface/nepopts.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/nep/examples/tutorials/ex20.c.html