27#include "neml2/models/Model.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
Definition ElasticStrain.h:32
const Variable< SR2 > & _E
Total strain (rate)
Definition ElasticStrain.h:44
ElasticStrain(const OptionSet &options)
Definition ElasticStrain.cxx:55
const Variable< SR2 > & _Ep
Plastic strain (rate)
Definition ElasticStrain.h:47
const bool _rate_form
Definition ElasticStrain.h:41
static OptionSet expected_options()
Definition ElasticStrain.cxx:33
Variable< SR2 > & _Ee
Elastic strain (rate)
Definition ElasticStrain.h:50
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition ElasticStrain.cxx:68
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 CrossRef.cxx:32