27#include "neml2/equation_systems/NonlinearSystem.h"
28#include "neml2/solvers/NonlinearSolver.h"
virtual void update(NonlinearSystem &sys)
Update trial solution with fresh function graph.
Result solve(NonlinearSystem &) override
Solve the given nonlinear system.
virtual void prepare(const NonlinearSystem &)
Prepare solver internal data before the iterative update.
Definition Newton.h:51
virtual bool converged(size_t itr, const Scalar &nb, const Scalar &nb0) const
Check for convergence. The current iteration is said to be converged if the residual norm is below th...
Newton(const OptionSet &options)
static OptionSet expected_options()
virtual void final_update(NonlinearSystem &sys)
Update solution with function graph.
NonlinearSolver(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
Scalar.
Definition Scalar.h:38
Definition DiagnosticsInterface.h:31
Definition NonlinearSolver.h:51