OGS
MassMoleFractions.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
Base.h
"
13
#include "
ProcessLib/Reflection/ReflectionData.h
"
14
15
namespace
ProcessLib::TH2M
16
{
17
namespace
ConstitutiveRelations
18
{
19
struct
MassMoleFractionsData
20
{
21
double
xnCG
=
nan
;
22
double
xmCG
=
nan
;
23
double
xnWL
=
nan
;
24
double
xmWL
=
nan
;
25
26
static
auto
reflect
()
27
{
28
using
Self =
MassMoleFractionsData
;
29
namespace
R =
ProcessLib::Reflection
;
30
31
return
std::tuple{
32
R::makeReflectionData(
"mole_fraction_liquid"
, &Self::xnWL),
33
R::makeReflectionData(
"mass_fraction_liquid"
, &Self::xmWL),
34
R::makeReflectionData(
"mole_fraction_gas"
, &Self::xnCG),
35
R::makeReflectionData(
"mass_fraction_gas"
, &Self::xmCG)};
36
}
37
};
38
39
}
// namespace ConstitutiveRelations
40
}
// namespace ProcessLib::TH2M
ReflectionData.h
Base.h
ProcessLib::ConstitutiveRelations::nan
static constexpr double nan
Convenience alias for not a number.
Definition
Base.h:80
ProcessLib::Reflection
Definition
ReflectionData.h:17
ProcessLib::TH2M
Definition
Advection.cpp:13
ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData
Definition
MassMoleFractions.h:20
ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xnWL
double xnWL
Definition
MassMoleFractions.h:23
ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::reflect
static auto reflect()
Definition
MassMoleFractions.h:26
ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xmCG
double xmCG
Definition
MassMoleFractions.h:22
ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xnCG
double xnCG
Definition
MassMoleFractions.h:21
ProcessLib::TH2M::ConstitutiveRelations::MassMoleFractionsData::xmWL
double xmWL
Definition
MassMoleFractions.h:24
ProcessLib
TH2M
ConstitutiveRelations
MassMoleFractions.h
Generated by
1.11.0