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 SR2Invariant.h:32
SR2Invariant(const OptionSet &options)
Definition SR2Invariant.cxx:58
const Variable< SR2 > & _A
Input second order tensor.
Definition SR2Invariant.h:53
IType
Definition SR2Invariant.h:35
Variable< Scalar > & _invariant
Invariant of the input tensor.
Definition SR2Invariant.h:56
static OptionSet expected_options()
Definition SR2Invariant.cxx:33
const IType _type
Definition SR2Invariant.h:50
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition SR2Invariant.cxx:67
Definition CrossRef.cxx:30