EPSStoppingTestFn#
A prototype of an EPS stopping test function that would be passed to EPSSetStoppingTestFunction()
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode EPSStoppingTestFn(EPS eps,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nev,EPSConvergedReason *reason,void *ctx);
Calling Sequence#
eps - eigensolver context obtained from EPSCreate()
its - current number of iterations
max_it - maximum number of iterations
nconv - number of currently converged eigenpairs
nev - number of requested eigenpairs
reason - [output] result of the stopping test
ctx - [optional] user-defined context for private data for the stopping test routine (may be NULL)
See Also#
EPSSetStoppingTestFunction()
Level#
advanced
Location#
Index of all EPS routines Table of Contents for all manual pages Index of all manual pages