#include "slepcpep.h" PetscErrorCode PEPSetStoppingTestFunction(PEP pep,PEPStoppingTestFn *stop,void* ctx,PetscErrorCode (*destroy)(void*))Logically Collective
pep | - eigensolver context obtained from PEPCreate() | |
stop | - stopping test function, see PEPStoppingTestFn for the calling sequence | |
ctx | - context for private data for the stopping routine (may be NULL) | |
destroy | - a routine for destroying the context (may be NULL) |