petsc-3.7.3 2016-08-01
Report Typos and Errors

SNESLINESEARCHSHELL

Provides context for a user-provided line search routine. The user routine has one argument, the SNESLineSearch context. The user uses the interface to extract line search parameters and set them accordingly when the computation is finished.

Any of the other line searches may serve as a guide to how this is to be done. There is also a basic template in the documentation for SNESLineSearchShellSetUserFunc().

Level:advanced
Location:
src/snes/linesearch/impls/shell/linesearchshell.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages