#include "slepcmfn.h" PetscErrorCode MFNMonitorSet(MFN mfn,PetscErrorCode (*monitor)(MFN,PetscInt,PetscReal,void*),void *mctx,PetscErrorCode (*monitordestroy)(void**))Logically Collective on MFN
| mfn | - matrix function context obtained from MFNCreate() | |
| monitor | - pointer to function (if this is NULL, it turns off monitoring) | |
| mctx | - [optional] context for private data for the monitor routine (use NULL if no context is desired) | |
| monitordestroy | - [optional] routine that frees monitor context (may be NULL) |
monitor (MFN mfn, int its, PetscReal errest, void *mctx)
| mfn | - matrix function context obtained from MFNCreate() | |
| its | - iteration number | |
| errest | - error estimate | |
| mctx | - optional monitoring context, as set by MFNMonitorSet() |
| -mfn_monitor | - print the error estimate | |
| -mfn_monitor_lg | - sets line graph monitor for the error estimate | |
| -mfn_monitor_cancel | - cancels all monitors that have been hardwired into a code by calls to MFNMonitorSet(), but does not cancel those set via the options database. |
Location: src/mfn/interface/mfnmon.c
Index of all MFN routines
Table of Contents for all manual pages
Index of all manual pages