slepc-3.17.1 2022-04-11
Report Typos and Errors


Sets the tolerance and maximum iteration count used by the PEP convergence tests.


#include "slepcpep.h" 
PetscErrorCode PEPSetTolerances(PEP pep,PetscReal tol,PetscInt maxits)
Logically Collective on pep

Input Parameters

pep  - the polynomial eigensolver context
tol  - the convergence tolerance
maxits  - maximum number of iterations to use

Options Database Keys

-pep_tol <tol>  - Sets the convergence tolerance
-pep_max_it <maxits>  - Sets the maximum number of iterations allowed


Use PETSC_DEFAULT for either argument to assign a reasonably good value.

See Also


Location: src/pep/interface/pepopts.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages