27#include "neml2/solvers/Newton.h"
28#include "neml2/base/EnumSelection.h"
Selection of an enum value from a list of choices.
Definition EnumSelection.h:41
NewtonWithLineSearch(const OptionSet &options)
const unsigned int _linesearch_miter
Linesearch maximum iterations.
Definition NewtonWithLineSearch.h:50
void update(NonlinearSystem &) override
Update trial solution.
const bool _check_crit
Whether to check the Armijo condition.
Definition NewtonWithLineSearch.h:62
const double _linesearch_c
Stopping criteria for linesearch.
Definition NewtonWithLineSearch.h:56
const EnumSelection _type
Select the type of line search.
Definition NewtonWithLineSearch.h:59
static OptionSet expected_options()
const double _linesearch_sigma
Decrease factor for linesearch.
Definition NewtonWithLineSearch.h:53
Newton(const OptionSet &options)
Definition of a nonlinear system of equations, r(u) = 0.
Definition NonlinearSystem.h:44
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:52
Definition DiagnosticsInterface.h:31