SNESNEWTONLS#
Newton based nonlinear solver that uses a line search
Options Database Keys#
-snes_linesearch_type bt - basic (or equivalently none),
bt,l2,cp,nleqerr,shell. Select line search type, seeSNESLineSearchSetType()-snes_linesearch_order 3 - 2, 3. Selects the order of the line search for
bt, seeSNESLineSearchSetOrder()-snes_linesearch_norms true - Turns on/off computation of the norms for basic linesearch (
SNESLineSearchSetComputeNorms())-snes_linesearch_alpha alpha - Sets
alphaused in determining if reduction in function norm is sufficient-snes_linesearch_maxstep maxstep - Sets the maximum
stepsizethe line search will use (if the \( ||y|| > maxstep \) then scaleyto be \(y = y * maxstep/||y||.\)-snes_linesearch_minlambda minlambda - Sets the minimum
lambdathe line search will tolerate-snes_linesearch_monitor - print information about the progress of line searches
-snes_linesearch_damping - damping factor used for the basic line search
Note#
This is the default nonlinear solver in SNES
See Also#
SNES: Nonlinear Solvers, SNESCreate(), SNES, SNESSetType(), SNESNEWTONTR, SNESQN, SNESLineSearchSetType(), SNESLineSearchSetOrder(),
SNESLineSearchSetPostCheck(), SNESLineSearchSetPreCheck(), SNESLineSearchSetComputeNorms(), SNESGetLineSearch()
Level#
beginner
Location#
Examples#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages