#include "slepcpep.h" PetscErrorCode PEPSetStoppingTestFunction(PEP pep,PEPStoppingTestFn *stop,void* ctx,PetscCtxDestroyFn *destroy)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), see PetscCtxDestroyFn for the calling sequence |