#include "slepcpep.h" PetscErrorCode PEPStoppingBasic(PEP pep,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nev,PEPConvergedReason *reason,void *ctx)Collective
pep | - eigensolver context obtained from PEPCreate() | |
its | - current number of iterations | |
max_it | - maximum number of iterations | |
nconv | - number of currently converged eigenpairs | |
nev | - number of requested eigenpairs | |
ctx | - context (not used here) |
reason | - result of the stopping test |
PEPStoppingBasic() will stop if all requested eigenvalues are converged, or if the maximum number of iterations has been reached.
Use PEPSetStoppingTest() to provide your own test instead of using this one.