#include "petscsnes.h" PetscErrorCode SNESLineSearchSetType(SNESLineSearch linesearch, const SNESLineSearchType type)
linesearch | - linesearch context | |
type | - The type of line search to be used |
basic | - Simple damping line search. | |
bt | - Backtracking line search over the L2 norm of the function | |
l2 | - Secant line search over the L2 norm of the function | |
cp | - Critical point secant line search assuming F(x) = grad G(x) for some unknown G(x) | |
shell | - User provided SNESLineSearch implementation |
Logically Collective on SNESLineSearch
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