OGS
TotalStressData.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
Base.h
"
14
15
namespace
ProcessLib::ThermoRichardsMechanics
16
{
17
18
template
<
int
DisplacementDim>
19
struct
TotalStressData
20
{
21
// Total stress is stateful for some constitutive settings and therefore
22
// must be initialized to something valid, e.g., zero.
23
// TODO find a better solution for that.
24
KelvinVector<DisplacementDim>
sigma_total
=
KV::KVzero<DisplacementDim>
();
25
26
static
auto
reflect
()
27
{
28
using
Self =
TotalStressData<DisplacementDim>
;
29
30
return
ProcessLib::Reflection::reflectWithName
(
"sigma_total"
,
31
&Self::sigma_total);
32
}
33
};
34
}
// 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::TotalStressData
Definition
TotalStressData.h:20
ProcessLib::ThermoRichardsMechanics::TotalStressData::reflect
static auto reflect()
Definition
TotalStressData.h:26
ProcessLib::ThermoRichardsMechanics::TotalStressData::sigma_total
KelvinVector< DisplacementDim > sigma_total
Definition
TotalStressData.h:24
ProcessLib
ThermoRichardsMechanics
ConstitutiveCommon
TotalStressData.h
Generated by
1.11.0