slepc-3.22.1 2024-10-28
Report Typos and Errors

# 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

include/slepceps.h
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages