#include "slepceps.h" PetscErrorCode EPSSetConvergenceTestFunction(EPS eps,PetscErrorCode (*func)(EPS,PetscScalar,PetscScalar,PetscReal,PetscReal*,void*),void* ctx)Logically Collective on EPS
eps | - eigensolver context obtained from EPSCreate() | |
func | - a pointer to the convergence test function | |
ctx | - a context pointer (the last parameter to the convergence test function) |
func(EPS eps,PetscScalar eigr,PetscScalar eigi,PetscReal res,PetscReal *errest,void *ctx)
eps | - eigensolver context obtained from EPSCreate() | |
eigr | - real part of the eigenvalue | |
eigi | - imaginary part of the eigenvalue | |
res | - residual norm associated to the eigenpair | |
errest | - (output) computed error estimate | |
ctx | - optional context, as set by EPSSetConvergenceTest() |
Location: src/eps/interface/opts.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages