27#include "neml2/solvers/Newton.h"
28#include "neml2/tensors/Scalar.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
The nonlinear solver solves a nonlinear system of equations.
Definition NewtonWithLineSearch.h:39
NewtonWithLineSearch(const OptionSet &options)
Definition NewtonWithLineSearch.cxx:55
Real _linesearch_c
Stopping criteria for linesearch.
Definition NewtonWithLineSearch.h:65
Real _linesearch_sigma
Decrease factor for linesearch.
Definition NewtonWithLineSearch.h:62
static OptionSet expected_options()
Definition NewtonWithLineSearch.cxx:34
unsigned int _linesearch_miter
Linesearch maximum iterations.
Definition NewtonWithLineSearch.h:59
virtual Scalar linesearch(NonlinearSystem &system, const NonlinearSystem::Sol< true > &x, const NonlinearSystem::Sol< true > &dx, const NonlinearSystem::Res< true > &R0) const
Perform Armijo linesearch.
Definition NewtonWithLineSearch.cxx:75
void update(NonlinearSystem &system, NonlinearSystem::Sol< true > &x, const NonlinearSystem::Res< true > &r, const NonlinearSystem::Jac< true > &J) override
Update trial solution.
Definition NewtonWithLineSearch.cxx:64
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:85
Scalar.
Definition Scalar.h:38
Definition CrossRef.cxx:31
Definition NonlinearSystem.h:67
Definition NonlinearSystem.h:45
Definition NonlinearSystem.h:89