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. Also named as SNESLINESEARCHNONE

Options Database Keys#

  • -snes_linesearch_damping - search vector is scaled by this amount on entry to the line search, default is 1.0

  • -snes_linesearch_norms - whether to compute norms or not, default is true (SNESLineSearchSetComputeNorms())

Note#

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

See Also#

SNES: Nonlinear Solvers, SNES, SNESLineSearch, SNESLineSearchType, SNESGetLineSearch(), SNESLineSearchCreate(), SNESLineSearchSetType(), SNESLineSearchSetDamping(), SNESLineSearchSetComputeNorms()

Level#

advanced

Location#

src/snes/linesearch/impls/basic/linesearchbasic.c

Examples#

src/ts/tutorials/ex22.c


Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages