#include "slepcnep.h" PetscErrorCode NEPSetConvergenceTestFunction(NEP nep,NEPConvergenceTestFn *conv,void* ctx,PetscErrorCode (*destroy)(void*))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) |