# SNESClearMonitor

Clears all the monitor functions for a SNES object.

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode PETSCSNES_DLLEXPORT SNESClearMonitor(SNES snes)

Collective on SNES

### Input Parameters

snes - the SNES context

### Options Database Key

-snes_cancelmonitors - cancels all monitors that have been hardwired into a code by calls to SNESSetMonitor(), but does not cancel those set via the options database

### Notes

There is no way to clear one specific monitor from a SNES object.

### Keywords

SNES, nonlinear, set, monitor

### See Also

SNESDefaultMonitor(), SNESSetMonitor()

Level:intermediate
Location: src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages