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 StateRate.h:33
const Variable< T > & _sn
Old state.
Definition StateRate.h:46
Variable< T > & _ds_dt
State rate.
Definition StateRate.h:55
const Variable< Scalar > & _t
Current time.
Definition StateRate.h:49
const Variable< T > & _s
Current state.
Definition StateRate.h:43
const Variable< Scalar > & _tn
Old time.
Definition StateRate.h:52
static OptionSet expected_options()
Definition StateRate.cxx:35
StateRate(const OptionSet &options)
Definition StateRate.cxx:52
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition StateRate.cxx:65
Definition CrossRef.cxx:32
StateRate< SR2 > SR2StateRate
Definition StateRate.h:59
StateRate< Scalar > ScalarStateRate
Definition StateRate.h:58