#include "slepceps.h" PetscErrorCode EPSSetStoppingTestFunction(EPS eps,EPSStoppingTestFn *func,void* ctx,PetscErrorCode (*destroy)(void*))Logically Collective
eps | - eigensolver context obtained from EPSCreate() | |
func | - stopping test function, see EPSStoppingTestFn 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) |