slepc-3.22.2 2024-12-02
Report Typos and Errors

# PEPStoppingTestFn

A prototype of a PEP stopping test function that would be passed to PEPSetStoppingTestFunction()

### Synopsis

    PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(PEPStoppingTestFn)(PEP pep,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nev,PEPConvergedReason *reason,void *ctx);

### Calling Sequence

| 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
| 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

PEPSetStoppingTestFunction()

### Level

advanced

### Location

include/slepcpep.h
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages