SNESMonitorDefaultSetUp — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# SNESMonitorDefaultSetUp

Prepare the `PetscViewerAndFormat` associated with `SNESMonitorDefault()`, in particular by initializing the underlying `PetscDrawLG` when the viewer format is `PETSC_VIEWER_DRAW_LG`

## Synopsis

    #include "petsc/private/snesimpl.h"
    PetscErrorCode SNESMonitorDefaultSetUp(SNES snes, PetscViewerAndFormat *vf)

Collective

## Input Parameters

- snes - the `SNES` context

- vf - the viewer/format pair passed to `SNESMonitorSet()` along with `SNESMonitorDefault()`

## See Also

SNES: Nonlinear Solvers, `SNES`, `SNESMonitorSet()`, `SNESMonitorDefault()`, `PetscViewerAndFormat`, `PetscViewerMonitorLGSetUp()`

## Level

developer

## Location

src/snes/interface/snesut.c

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages