#include "slepcpep.h" PetscErrorCode PEPSetConvergenceTestFunction(PEP pep,PEPConvergenceTestFn *conv,void* ctx,PetscErrorCode (*destroy)(void*))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) |