27#include "neml2/models/Model.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
Definition ForceRate.h:33
const Variable< T > & _fn
Old force value.
Definition ForceRate.h:49
const Variable< T > & _f
Current force value.
Definition ForceRate.h:46
const Variable< Scalar > & _t
Current time.
Definition ForceRate.h:52
const Variable< Scalar > & _tn
Old time.
Definition ForceRate.h:55
ForceRate(const OptionSet &options)
Definition ForceRate.cxx:52
Variable< T > & _df_dt
Force rate.
Definition ForceRate.h:43
static OptionSet expected_options()
Definition ForceRate.cxx:35
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition ForceRate.cxx:65
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
ForceRate< Scalar > ScalarForceRate
Definition ForceRate.h:58
ForceRate< SR2 > SR2ForceRate
Definition ForceRate.h:59