EPSSetTolerances

Sets the tolerance and maximum iteration count used by the default EPS convergence testers.

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSSetTolerances(EPS eps,PetscReal tol,int maxits)
Collective on EPS

Input Parameters

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

Options Database Keys

-eps_tol <tol> - Sets the convergence tolerance
-eps_max_it <maxits> - Sets the maximum number of iterations allowed

Notes

Use PETSC_DEFAULT to retain the default value of any of the tolerances.

See Also

EPSGetTolerances()

Location: src/eps/interface/opts.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages