OGS
InitialStress.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include "
ParameterLib/Parameter.h
"
15
16
namespace
ProcessLib
17
{
18
struct
InitialStress
19
{
20
enum class
Type
21
{
22
Effective
,
23
Total
24
};
25
26
bool
isTotalStress
()
const
{
return
value
&& (
type
==
Type::Total
); }
27
28
ParameterLib::Parameter<double>
const
*
const
value
=
nullptr
;
29
Type
const
type
=
Type::Effective
;
30
};
31
}
// namespace ProcessLib
Parameter.h
ProcessLib
Definition
ProjectData.h:51
ParameterLib::Parameter
Definition
WellboreGeometry.h:23
ProcessLib::InitialStress
Definition
InitialStress.h:19
ProcessLib::InitialStress::Type
Type
Definition
InitialStress.h:21
ProcessLib::InitialStress::Type::Total
@ Total
ProcessLib::InitialStress::Type::Effective
@ Effective
ProcessLib::InitialStress::value
ParameterLib::Parameter< double > const *const value
Definition
InitialStress.h:28
ProcessLib::InitialStress::isTotalStress
bool isTotalStress() const
Definition
InitialStress.h:26
ProcessLib::InitialStress::type
Type const type
Definition
InitialStress.h:29
ProcessLib
Common
HydroMechanics
InitialStress.h
Generated by
1.11.0