slepc-3.6.1 2015-09-03
Report Typos and Errors

# EPSSetTolerances

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

### Synopsis

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

Logically 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 for either argument to assign a reasonably good value.

### See Also

EPSGetTolerances()

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

### Examples

src/eps/examples/tutorials/ex19.c.html