PetscMonitorCompare#
Checks if two monitors are identical; if they are then it destroys the new one
Synopsis#
PetscErrorCode PetscMonitorCompare(PetscErrorCode (*nmon)(void), void *nmctx, PetscCtxDestroyFn *nmdestroy, PetscErrorCode (*mon)(void), void *mctx, PetscCtxDestroyFn *mdestroy, PetscBool *identical)
Not Collective
Input Parameters#
nmon - The new monitor
nmctx - The new monitor context, or
NULLnmdestroy - The new monitor context destroy function, or
NULL, seePetscCtxDestroyFnfor its calling sequencemon - The old monitor
mctx - The old monitor context, or
NULLmdestroy - The old monitor context destroy function, or
NULL, seePetscCtxDestroyFnfor its calling sequence
Output Parameter#
identical -
PETSC_TRUEif the monitors are the same
See Also#
Viewers: Looking at PETSc Objects, DMMonitorSetFromOptions(), KSPMonitorSetFromOptions(), SNESMonitorSetFromOptions(), PetscCtxDestroyFn
Level#
developer
Location#
src/sys/classes/viewer/interface/viewers.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages