#include "petscsnes.h" PetscErrorCode SNESLineSearchMonitorCancel(SNESLineSearch ls)Logically Collective on SNESLineSearch
ls | - the SNESLineSearch context |
-snes_linesearch_monitor_cancel | - cancels all monitors that have been hardwired into a code by calls to SNESLineSearchMonitorSet(), but does not cancel those set via the options database |
This does not clear the monitor set with SNESLineSearchSetDefaultMonitor() use SNESLineSearchSetDefaultMonitor(ls,NULL) to cancel that one.