#include "slepcnep.h" PetscErrorCode NEPSetTolerances(NEP nep,PetscReal abstol,PetscReal rtol,PetscReal stol,PetscInt maxit,PetscInt maxf)Logically Collective on NEP
nep | - the nonlinear eigensolver context | |
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 |
-nep_atol <abstol> | - Sets abstol | |
-nep_rtol <rtol> | - Sets rtol | |
-nep_stol <stol> | - Sets stol | |
-nep_max_it <maxit> | - Sets maxit | |
-nep_max_funcs <maxf> | - Sets maxf |
Use PETSC_DECIDE for maxits to assign a reasonably good value, which is dependent on the solution method.
Location: src/nep/interface/nepopts.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages