petsc-3.5.1 2014-07-24
Report Typos and Errors

SNESLINESEARCHBASIC

This line search implementation is not a line search at all; it simply uses the full step. Thus, this routine is intended for methods with well-scaled updates; i.e. Newton's method (SNESNEWTONLS), on well-behaved problems.

Options Database Keys

Notes

For methods with ill-scaled updates (SNESNRICHARDSON, SNESNCG), a small damping parameter may yield satisfactory but slow convergence despite the simplicity of the line search.

Keywords

SNES, SNESLineSearch, damping

See Also

SNESLineSearchCreate(), SNESLineSearchSetType()

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

Examples

src/ts/examples/tutorials/ex22.c.html
src/ts/examples/tutorials/ex22f.F.html
-snes_linesearch_damping (1.0) damping parameter.- - -snes_linesearch_norms (true) whether to compute norms or not.