DMAdaptorMonitorErrorDrawLG#
Plots the error norm at each iteration of an adaptive loop.
Synopsis#
#include "petscdmadaptor.h"
PetscErrorCode DMAdaptorMonitorErrorDrawLG(DMAdaptor adaptor, PetscInt n, DM odm, DM adm, PetscInt Nf, PetscReal enorms[], Vec error, PetscViewerAndFormat *vf)
Collective
Input Parameters#
Options Database Key#
-adaptor_error draw::draw_lg - Activates
DMAdaptorMonitorErrorDrawLG()
Notes#
This is not called directly by users, rather one calls DMAdaptorMonitorSet(), with this function as an argument, to cause the monitor
to be used during the adaptation loop.
Call DMAdaptorMonitorErrorDrawLGCreate() to create the context needed for this monitor
See Also#
SNES: Nonlinear Solvers, PETSCVIEWERDRAW, DMAdaptor, DMAdaptorMonitorSet(), DMAdaptorMonitorErrorDraw(), DMAdaptorMonitorError(),
DMAdaptorMonitorTrueResidualDrawLGCreate()
Level#
intermediate
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages