27#include "neml2/solvers/NonlinearSystem.h"
28#include "neml2/tensors/Scalar.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
Definition of a nonlinear system of equations.
Definition NonlinearSystem.h:37
Jac< scaled > Jacobian()
Assemble and return the Jacobian.
Definition NonlinearSystem.h:242
Res< scaled > residual()
Assemble and return the residual.
Definition NonlinearSystem.h:222
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 TrustRegionSubProblem.h:39
Tensor preconditioned_direction(const Scalar &s) const
Definition TrustRegionSubProblem.cxx:73
TrustRegionSubProblem(const OptionSet &options)
Definition TrustRegionSubProblem.cxx:30
void assemble(Res< false > *residual, Jac< false > *Jacobian) override
Compute the unscaled residual and Jacobian.
Definition TrustRegionSubProblem.cxx:52
Tensor preconditioned_solve(const Scalar &s, const Tensor &v) const
Definition TrustRegionSubProblem.cxx:67
void reinit(const Res< true > &r, const Jac< true > &J, const Scalar &delta)
Record the current state of the underlying problem.
Definition TrustRegionSubProblem.cxx:36
void set_guess(const Sol< false > &x) override
Set the unscaled current guess.
Definition TrustRegionSubProblem.cxx:46
Definition CrossRef.cxx:31