#include "slepcnep.h" PetscErrorCode NEPSetConvergenceTestFunction(NEP nep,NEPConvergenceTestFn *conv,void* ctx,PetscCtxDestroyFn *destroy)Logically Collective
nep | - nonlinear eigensolver context obtained from NEPCreate() | |
conv | - convergence test function, see NEPConvergenceTestFn 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 |