#include "petscsys.h" PetscErrorCode PetscOptionsMonitorSet(PetscErrorCode (*monitor)(const char name[], const char value[], void*),void *mctx,PetscErrorCode (*monitordestroy)(void**))Not collective Many br
monitor | - pointer to function (if this is NULL, it turns off monitoring Many br | |
mctx | - [optional] context for private data for the Many brmonitor routine (use NULL if no context is desired) Many br | |
monitordestroy | - [optional] routine that frees monitor context Many br(may be NULL) Many br |
monitor (const char name[], const char value[], void *mctx)
name | - option name string Many br | |
value | - option value string Many br | |
mctx | - optional monitoring context, as set by PetscOptionsMonitorSet() Many br |
-options_monitor | - sets PetscOptionsMonitorDefault() Many br | |
-options_monitor_cancel | - cancels all monitors that have Many brbeen hardwired into a code by Many brcalls to PetscOptionsMonitorSet(), but Many brdoes not cancel those set via Many brthe options database. Many br |
Several different monitoring routines may be set by calling Many brPetscOptionsMonitorSet() multiple times; all will be called in the Many brorder in which they were set. Many br
Many br
Level:beginner
Location:src/sys/objects/options.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages