QEPSetTolerances

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

Synopsis

#include "slepcqep.h" 
PetscErrorCode QEPSetTolerances(QEP qep,PetscReal tol,PetscInt maxits)
Logically Collective on QEP

Input Parameters

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

Options Database Keys

-qep_tol <tol> - Sets the convergence tolerance
-qep_max_it <maxits> - Sets the maximum number of iterations allowed

Notes

Pass 0 for an argument that need not be changed.

Use PETSC_DECIDE for maxits to assign a reasonably good value, which is dependent on the solution method.

See Also

QEPGetTolerances()

Location: src/qep/interface/qepopts.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages