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