25#include "neml2/models/solid_mechanics/MandelStress.h"
33 options.doc() =
"Map Cauchy stress to Mandel stress";
36 options.set(
"cauchy_stress").doc() =
"Cauchy stress";
39 options.set(
"mandel_stress").doc() =
"Mandel stress";
46 _S(declare_input_variable<
SR2>(
"cauchy_stress")),
47 _M(declare_output_variable<
SR2>(
"mandel_stress"))
The accessor containing all the information needed to access an item in a LabeledAxis.
Definition LabeledAxisAccessor.h:44
static OptionSet expected_options()
Definition MandelStress.cxx:30
MandelStress(const OptionSet &options)
Definition MandelStress.cxx:44
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
static OptionSet expected_options()
Definition Model.cxx:33
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
The (logical) symmetric second order tensor.
Definition SR2.h:46
Definition CrossRef.cxx:32
LabeledAxisAccessor VariableName
Definition Variable.h:35