slepc-main 2024-11-15
Report Typos and Errors

NEPStoppingTestFn

A prototype of a NEP stopping test function that would be passed to NEPSetStoppingTestFunction()

Synopsis

PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(NEPStoppingTestFn)(NEP nep,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nev,NEPConvergedReason *reason,void *ctx);

Calling Sequence

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

NEPSetStoppingTestFunction()

Level

advanced

Location

include/slepcnep.h

Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages