OGS
Saturation.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
Base.h
"
13
#include "
BaseLib/StrongType.h
"
14
#include "
ProcessLib/Reflection/ReflectionData.h
"
15
16
namespace
ProcessLib::TH2M
17
{
18
namespace
ConstitutiveRelations
19
{
20
struct
SaturationData
21
{
22
double
S_L
=
nan
;
23
24
static
auto
reflect
()
25
{
26
return
ProcessLib::Reflection::reflectWithName
(
"saturation"
,
27
&
SaturationData::S_L
);
28
}
29
};
30
31
using
SaturationDataDeriv
=
32
BaseLib::StrongType<double, struct SaturationDataDerivTag>
;
33
34
struct
SaturationModel
35
{
36
void
eval
(
SpaceTimeData
const
& x_t,
MediaData
const
& media_data,
37
CapillaryPressureData
const
& p_cap,
38
SaturationData
& S_L_data)
const
;
39
40
void
dEval
(
SpaceTimeData
const
& x_t,
MediaData
const
& media_data,
41
CapillaryPressureData
const
& p_cap,
42
SaturationDataDeriv
& dS_L_data)
const
;
43
};
44
}
// namespace ConstitutiveRelations
45
}
// namespace ProcessLib::TH2M
ReflectionData.h
StrongType.h
Base.h
ProcessLib::ConstitutiveRelations::nan
static constexpr double nan
Convenience alias for not a number.
Definition
Base.h:80
ProcessLib::Reflection::reflectWithName
auto reflectWithName(std::string name, Member Class::*member)
Definition
ReflectionData.h:79
ProcessLib::TH2M
Definition
Advection.cpp:13
BaseLib::StrongType< double, struct SaturationDataDerivTag >
ProcessLib::ConstitutiveRelations::SpaceTimeData
Definition
Base.h:73
ProcessLib::TH2M::ConstitutiveRelations::MediaData
Definition
Base.h:39
ProcessLib::TH2M::ConstitutiveRelations::SaturationData
Definition
Saturation.h:21
ProcessLib::TH2M::ConstitutiveRelations::SaturationData::S_L
double S_L
Definition
Saturation.h:22
ProcessLib::TH2M::ConstitutiveRelations::SaturationData::reflect
static auto reflect()
Definition
Saturation.h:24
ProcessLib::TH2M::ConstitutiveRelations::SaturationModel
Definition
Saturation.h:35
ProcessLib::TH2M::ConstitutiveRelations::SaturationModel::dEval
void dEval(SpaceTimeData const &x_t, MediaData const &media_data, CapillaryPressureData const &p_cap, SaturationDataDeriv &dS_L_data) const
Definition
Saturation.cpp:31
ProcessLib::TH2M::ConstitutiveRelations::SaturationModel::eval
void eval(SpaceTimeData const &x_t, MediaData const &media_data, CapillaryPressureData const &p_cap, SaturationData &S_L_data) const
Definition
Saturation.cpp:16
ProcessLib
TH2M
ConstitutiveRelations
Saturation.h
Generated by
1.10.0