#include "petscsnes.h" PetscErrorCode SNESLineSearchMonitorSet(SNESLineSearch ls,PetscErrorCode (*f)(SNESLineSearch,void*),void *mctx,PetscErrorCode (*monitordestroy)(void**))Logically Collective on SNESLineSearch
ls | - the SNESLineSearch context | |
f | - the monitor function | |
mctx | - [optional] user-defined context for private data for the monitor routine (use NULL if no context is desired) | |
monitordestroy | - [optional] routine that frees monitor context (may be NULL) |
Fortran notes: Only a single monitor function can be set for each SNESLineSearch object
Level:intermediate
Location:src/snes/linesearch/interface/linesearch.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages