27#include "neml2/models/Model.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:56
The base class for all constitutive models.
Definition Model.h:55
const torch::TensorOptions & options() const
Storage tensor options.
Definition Model.h:111
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:100
Definition VariableRate.h:33
Variable< T > & _dv_dt
Variable rate.
Definition VariableRate.h:57
const Variable< Scalar > & _t
Current time.
Definition VariableRate.h:51
VariableRate(const OptionSet &options)
Definition VariableRate.cxx:56
const Variable< Scalar > & _tn
Old time.
Definition VariableRate.h:54
const Variable< T > & _vn
Old variable value.
Definition VariableRate.h:48
const Variable< T > & _v
Current variable value.
Definition VariableRate.h:45
static OptionSet expected_options()
Definition VariableRate.cxx:36
virtual void diagnose(std::vector< Diagnosis > &diagnoses) const override
Check for common problems.
Definition VariableRate.cxx:70
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition VariableRate.cxx:78
Definition CrossRef.cxx:30
VariableRate< Scalar > ScalarVariableRate
Definition VariableRate.h:60
VariableRate< SR2 > SR2VariableRate
Definition VariableRate.h:62
VariableRate< Vec > VecVariableRate
Definition VariableRate.h:61