27#include "neml2/models/Model.h"
28#include "neml2/solvers/NonlinearSolver.h"
56 Tensor _ds_dsn, _ds_df, _ds_dfn, _ds_dp;
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:56
Definition ImplicitUpdate.h:33
Model & _model
The implicit model to be updated.
Definition ImplicitUpdate.h:49
ImplicitUpdate(const OptionSet &options)
Definition ImplicitUpdate.cxx:50
virtual void check_AD_limitation() const override
Definition ImplicitUpdate.cxx:101
NonlinearSolver & _solver
The nonlinear solver used to solve the nonlinear system.
Definition ImplicitUpdate.h:52
static OptionSet expected_options()
Definition ImplicitUpdate.cxx:34
virtual void setup_output_views() override
Definition ImplicitUpdate.cxx:109
virtual void diagnose(std::vector< Diagnosis > &diagnoses) const override
Check for common problems.
Definition ImplicitUpdate.cxx:75
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition ImplicitUpdate.cxx:127
The base class for all constitutive models.
Definition Model.h:55
const torch::TensorOptions & options() const
Storage tensor options.
Definition Model.h:111
The nonlinear solver solves a nonlinear system of equations.
Definition NonlinearSolver.h:37
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:100
Definition CrossRef.cxx:30