OGS
VapourPartialPressure.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include "
Base.h
"
7
#include "
ProcessLib/Reflection/ReflectionData.h
"
8
9
namespace
ProcessLib::TH2M
10
{
11
namespace
ConstitutiveRelations
12
{
13
struct
VapourPartialPressureData
14
{
15
// water partial pressure in gas phase
16
double
pWGR
=
nan
;
17
18
static
auto
reflect
()
19
{
20
using
Self =
VapourPartialPressureData
;
21
namespace
R =
ProcessLib::Reflection
;
22
23
return
std::tuple{
24
R::makeReflectionData(
"vapour_pressure"
, &Self::pWGR)};
25
}
26
};
27
28
}
// namespace ConstitutiveRelations
29
}
// namespace ProcessLib::TH2M
ReflectionData.h
Base.h
ProcessLib::ConstitutiveRelations::nan
static constexpr double nan
Convenience alias for not a number.
Definition
ConstitutiveRelations/Base.h:97
ProcessLib::Reflection
Definition
ReflectionData.h:10
ProcessLib::TH2M::ConstitutiveRelations
Definition
Advection.cpp:9
ProcessLib::TH2M
Definition
Advection.cpp:7
ProcessLib::TH2M::ConstitutiveRelations::VapourPartialPressureData
Definition
VapourPartialPressure.h:14
ProcessLib::TH2M::ConstitutiveRelations::VapourPartialPressureData::reflect
static auto reflect()
Definition
VapourPartialPressure.h:18
ProcessLib::TH2M::ConstitutiveRelations::VapourPartialPressureData::pWGR
double pWGR
Definition
VapourPartialPressure.h:16
ProcessLib
TH2M
ConstitutiveRelations
VapourPartialPressure.h
Generated by
1.14.0