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"
8
9namespace ProcessLib::TH2M
10{
12{
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
static constexpr double nan
Convenience alias for not a number.