13#include <MGIS/Behaviour/Variable.hxx>
26template <
typename Derived>
30 template <
int DisplacementDim>
31 static constexpr std::size_t
size()
37 template <
int DisplacementDim>
38 static constexpr std::size_t
rows()
40 using T = mgis::behaviour::Variable::Type;
41 switch (Derived::type)
46 return DisplacementDim;
56 template <
int DisplacementDim>
57 static constexpr std::size_t
cols()
59 using T = mgis::behaviour::Variable::Type;
60 switch (Derived::type)
78 constexpr static const char*
name =
"Strain";
81 constexpr static mgis::behaviour::Variable::Type
type =
82 mgis::behaviour::Variable::Type::STENSOR;
98 constexpr static const char*
name =
"GreenLagrangeStrain";
101 constexpr static mgis::behaviour::Variable::Type
type =
102 mgis::behaviour::Variable::Type::STENSOR;
118 constexpr static const char*
name =
"DeformationGradient";
121 constexpr static mgis::behaviour::Variable::Type
type =
122 mgis::behaviour::Variable::Type::TENSOR;
134 constexpr static const char*
name =
"LiquidPressure";
136 constexpr static mgis::behaviour::Variable::Type
type =
137 mgis::behaviour::Variable::Type::SCALAR;
147 constexpr static const char*
name =
"Stress";
149 constexpr static mgis::behaviour::Variable::Type
type =
150 mgis::behaviour::Variable::Type::STENSOR;
159 constexpr static const char*
name =
"SecondPiolaKirchhoffStress";
161 constexpr static mgis::behaviour::Variable::Type
type =
162 mgis::behaviour::Variable::Type::STENSOR;
171 constexpr static const char*
name =
"Saturation";
173 constexpr static mgis::behaviour::Variable::Type
type =
174 mgis::behaviour::Variable::Type::SCALAR;
184 constexpr static const char*
name =
"Temperature";
186 constexpr static mgis::behaviour::Variable::Type
type =
187 mgis::behaviour::Variable::Type::SCALAR;
KelvinVector mechanical_strain
DeformationGradient deformation_gradient
double liquid_phase_pressure
static constexpr Temperature temperature
static constexpr SecondPiolaKirchhoffStress second_piola_kirchhoff_stress
static constexpr LiquidPressure liquid_pressure
static constexpr Strain strain
Instance that can be used for overload resolution/template type deduction.
static constexpr DeformationGradient deformation_gradient
Instance that can be used for overload resolution/template type deduction.
static constexpr Saturation saturation
static constexpr GreenLagrangeStrain green_lagrange_strain
Instance that can be used for overload resolution/template type deduction.
static constexpr Stress stress
constexpr int tensorSize(int dim)
See Tensor type for details.
constexpr int kelvin_vector_dimensions(int const displacement_dim)
Kelvin vector dimensions for given displacement dimension.
Meta data for Green-Lagrange strain.
static constexpr mgis::behaviour::Variable::Type type
The type of the variable in MFront.
static constexpr auto mpl_var
static constexpr const char * name
The name of the variable in MFront.
static constexpr auto mpl_var
static constexpr const char * name
static constexpr mgis::behaviour::Variable::Type type
static constexpr auto mpl_var
static constexpr mgis::behaviour::Variable::Type type
static constexpr const char * name
static constexpr const char * name
static constexpr mgis::behaviour::Variable::Type type
static constexpr auto mpl_var
static constexpr mgis::behaviour::Variable::Type type
The type of the variable in MFront.
static constexpr const char * name
The name of the variable in MFront.
static constexpr auto mpl_var
static constexpr mgis::behaviour::Variable::Type type
static constexpr auto mpl_var
static constexpr const char * name
static constexpr const char * name
static constexpr auto mpl_var
static constexpr mgis::behaviour::Variable::Type type
static constexpr std::size_t cols()
The number of columns of the variable.
static constexpr std::size_t rows()
The number of rows of the variable.
static constexpr std::size_t size()
The number of components of the variable.