#include "slepceps.h" PetscErrorCode EPSStoppingThreshold(EPS eps,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nev,EPSConvergedReason *reason,void *ctx)Collective
eps | - eigenvalue solver context obtained from EPSCreate() | |
its | - current number of iterations | |
max_it | - maximum number of iterations | |
nconv | - number of currently converged eigenpairs (ignored here) | |
nev | - number of requested eigenpairs (ignored here) | |
ctx | - context containing additional data (EPSStoppingCtx) |
reason | - result of the stopping test |
EPSStoppingThreshold() will stop when one of the computed eigenvalues is not above/below the threshold given at EPSSetThreshold(). If a number of wanted eigenvalues has been specified via EPSSetDimensions() then it is also taken into account, and the solver will stop when one of the two conditions (threshold or number of converged values) is met.
Use EPSSetStoppingTest() to provide your own test instead of using this one.