OGS
MassMoleFractions.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Base.h"
14
15namespace ProcessLib::TH2M
16{
17namespace ConstitutiveRelations
18{
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
static constexpr double nan
Convenience alias for not a number.
Definition Base.h:80