27#include "neml2/models/Model.h"
28#include "neml2/tensors/macros.h"
53#define COPYVARIABLE_TYPEDEF_PRIMITIVETENSOR(T) typedef CopyVariable<T> Copy##T
54FOR_ALL_PRIMITIVETENSOR(COPYVARIABLE_TYPEDEF_PRIMITIVETENSOR);
Copy the value of a variable into another variable.
Definition CopyVariable.h:37
const Variable< T > & _from
Souce variable.
Definition CopyVariable.h:50
Variable< T > & _to
Destination variable.
Definition CopyVariable.h:47
CopyVariable(const OptionSet &options)
Definition CopyVariable.cxx:49
static OptionSet expected_options()
Definition CopyVariable.cxx:34
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition CopyVariable.cxx:58
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
The base class for all constitutive models.
Definition Model.h:51
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:85
Definition CrossRef.cxx:31