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