#include "slepcnep.h" PetscErrorCode NEPStoppingBasic(NEP nep,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nev,NEPConvergedReason *reason,void *ctx)Collective
nep | - nonlinear eigensolver context obtained from NEPCreate() | |
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 |
NEPStoppingBasic() will stop if all requested eigenvalues are converged, or if the maximum number of iterations has been reached.
Use NEPSetStoppingTest() to provide your own test instead of using this one.