#include "slepceps.h" PetscErrorCode EPSSetMonitor(EPS eps, int (*monitor)(EPS,int,int,PetscScalar*,PetscScalar*,PetscReal*,int,void*), void *mctx)Collective on EPS
| eps | - eigensolver context obtained from EPSCreate() | |
| monitor | - pointer to function (if this is PETSC_NULL, it turns off monitoring) | |
| mctx | - [optional] context for private data for the monitor routine (use PETSC_NULL if no context is desired) |
monitor (EPS eps, int its, int nconv, PetscScalar *eigr, PetscScalar *eigi, PetscReal* errest, int nest, void *mctx)
| eps | - eigensolver context obtained from EPSCreate() | |
| its | - iteration number | |
| nconv | - number of converged eigenpairs | |
| eigr | - real part of the eigenvalues | |
| eigi | - imaginary part of the eigenvalues | |
| errest | - relative error estimates for each eigenpair | |
| nest | - number of error estimates | |
| mctx | - optional monitoring context, as set by EPSSetMonitor() |
| -eps_monitor | - print error estimates at each iteration | |
| -eps_cancelmonitors | - cancels all monitors that have been hardwired into a code by calls to EPSetMonitor(), but does not cancel those set via the options database. |
Location: src/eps/interface/monitor.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages