27#include "neml2/solvers/Newton.h"
Definition BatchTensor.h:32
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
The nonlinear solver solves a nonlinear system of equations.
Definition NewtonWithLineSearch.h:38
NewtonWithLineSearch(const OptionSet &options)
Definition NewtonWithLineSearch.cxx:55
virtual void linesearch(NonlinearSystem &system, const BatchTensor &x, const BatchTensor &dx)
Perform Armijo linesearch.
Definition NewtonWithLineSearch.cxx:74
Scalar _alpha
The line search parameter.
Definition NewtonWithLineSearch.h:61
Real _linesearch_c
Stopping criteria for linesearch.
Definition NewtonWithLineSearch.h:58
Real _linesearch_sigma
Decrease factor for linesearch.
Definition NewtonWithLineSearch.h:55
virtual void update(NonlinearSystem &system, BatchTensor &x) override
Update trial solution.
Definition NewtonWithLineSearch.cxx:64
static OptionSet expected_options()
Definition NewtonWithLineSearch.cxx:34
unsigned int _linesearch_miter
Linesearch maximum iterations.
Definition NewtonWithLineSearch.h:52
The nonlinear solver solves a nonlinear system of equations.
Definition Newton.h:39
Definition of a nonlinear system of equations.
Definition NonlinearSystem.h:37
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
The (logical) scalar.
Definition Scalar.h:38
Definition CrossRef.cxx:32