#include "petscsnes.h" PetscErrorCode SNESLineSearchMonitorSet(SNESLineSearch ls,PetscErrorCode (*f)(SNESLineSearch,void*),void *mctx,PetscErrorCode (*monitordestroy)(void**))Logically Collective on SNESLineSearch Many br
ls | - the SNESLineSearch context Many br | |
f | - the monitor function Many br | |
mctx | - [optional] user-defined context for private data for the Many brmonitor routine (use NULL if no context is desired) Many br | |
monitordestroy | - [optional] routine that frees monitor context Many br(may be NULL) Many br |
Fortran notes: Only a single monitor function can be set for each SNESLineSearch object Many br
Many br
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