PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(PEPConvergenceTestFn)(PEP pep,PetscScalar eigr,PetscScalar eigi,PetscReal res,PetscReal *errest,void *ctx);
pep | - eigensolver context obtained from PEPCreate() | |
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] user-defined context for private data for the convergence test routine (may be NULL) |