27#include "neml2/misc/types.h"
28#include "neml2/tensors/tensors.h"
51 : _raw_str(std::move(
raw))
73 const T &
resolve(
Model * caller,
const std::string & pname)
const;
83 std::string &
raw() {
return _raw_str; }
84 const std::string &
raw()
const {
return _raw_str; }
88 T resolve_number(
Real val)
const;
97 mutable const T * _tensor =
nullptr;
The base class for all constitutive models.
Definition Model.h:97
Definition DiagnosticsInterface.cxx:30
double Real
Definition types.h:68
std::ostream & operator<<(std::ostream &os, const EnumSelection &es)
Definition EnumSelection.cxx:32
std::stringstream & operator>>(std::stringstream &ss, EnumSelection &es)
Definition EnumSelection.cxx:39
The name of a tensor object that can be referenced in the input files.
Definition TensorName.h:46
const T & resolve(Model *caller, const std::string &pname) const
std::string & raw()
Get the raw string literal.
Definition TensorName.h:83
TensorName(std::string raw)
Definition TensorName.h:50
TensorName & operator=(const std::string &other)
Assignment operator.
Definition TensorName.h:60
bool operator==(const TensorName &other) const
Test equality.
Definition TensorName.h:76
const T & resolve() const
Resolve the TensorName to a Tensor object.
Definition TensorName.cxx:36
const std::string & raw() const
Definition TensorName.h:84