27#include "neml2/models/Model.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
The base class for all constitutive models.
Definition Model.h:53
const torch::TensorOptions & options() const
This model's tensor options.
Definition Model.h:116
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
Definition TotalStrain.h:32
const Variable< SR2 > & _Ep
Plastic strain (rate)
Definition TotalStrain.h:47
Variable< SR2 > & _E
Total strain (rate)
Definition TotalStrain.h:50
TotalStrain(const OptionSet &options)
Definition TotalStrain.cxx:53
const bool _rate_form
Definition TotalStrain.h:41
const Variable< SR2 > & _Ee
Elastic strain (rate)
Definition TotalStrain.h:44
static OptionSet expected_options()
Definition TotalStrain.cxx:33
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition TotalStrain.cxx:66
Definition CrossRef.cxx:32