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