#include "petscsnes.h" PetscErrorCode SNESLineSearchMonitorSetFromOptions(SNESLineSearch ls,const char name[],const char help[], const char manual[],PetscErrorCode (*monitor)(SNESLineSearch,PetscViewerAndFormat*),PetscErrorCode (*monitorsetup)(SNESLineSearch,PetscViewerAndFormat*))Collective on SNESLineSearch
ls | - LineSearch object you wish to monitor | |
name | - the monitor type one is seeking | |
help | - message indicating what monitoring is done | |
manual | - manual page for the monitor | |
monitor | - the monitor function | |
monitorsetup | - a function that is called once ONLY if the user selected this monitor that may set additional features of the SNESLineSearch or PetscViewer objects |