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