OGS
MechanicalStrainData.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/Base.h
"
14
15
namespace
ProcessLib::ThermoRichardsMechanics
16
{
17
namespace
ConstitutiveStress_StrainTemperature
18
{
19
template
<
int
DisplacementDim>
20
struct
MechanicalStrainData
21
{
22
// TODO it seems fragile that some data have to be initialized that way.
23
KelvinVector<DisplacementDim>
eps_m
=
KV::KVzero<DisplacementDim>
();
24
25
static
auto
reflect
()
26
{
27
using
Self =
MechanicalStrainData<DisplacementDim>
;
28
29
return
ProcessLib::Reflection::reflectWithName
(
"eps_m"
, &Self::eps_m);
30
}
31
};
32
}
// namespace ConstitutiveStress_StrainTemperature
33
}
// namespace ProcessLib::ThermoRichardsMechanics
Base.h
MathLib::KelvinVector::KVzero
constexpr auto KVzero()
Returns an expressions for a Kelvin vector filled with zero.
Definition
KelvinVector.h:61
ProcessLib::Reflection::reflectWithName
auto reflectWithName(std::string name, Member Class::*member)
Definition
ReflectionData.h:79
ProcessLib::ThermoRichardsMechanics
Definition
Base.h:20
ProcessLib::ThermoRichardsMechanics::KelvinVector
KV::KelvinVectorType< DisplacementDim > KelvinVector
Definition
Base.h:26
ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::MechanicalStrainData
Definition
MechanicalStrainData.h:21
ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::MechanicalStrainData::eps_m
KelvinVector< DisplacementDim > eps_m
Definition
MechanicalStrainData.h:23
ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::MechanicalStrainData::reflect
static auto reflect()
Definition
MechanicalStrainData.h:25
ProcessLib
ThermoRichardsMechanics
ConstitutiveStress_StrainTemperature
MechanicalStrainData.h
Generated by
1.12.0