OGS
CreateWaterVapourLatentHeatWithCriticalTemperature.cpp
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
#include "
CreateWaterVapourLatentHeatWithCriticalTemperature.h
"
5
6
#include "
BaseLib/ConfigTree.h
"
7
#include "
MaterialLib/MPL/Property.h
"
8
#include "
WaterVapourLatentHeatWithCriticalTemperature.h
"
9
10
namespace
MaterialPropertyLib
11
{
12
std::unique_ptr<Property>
createWaterVapourLatentHeatWithCriticalTemperature
(
13
BaseLib::ConfigTree
const
& config)
14
{
16
config.
checkConfigParameter
(
"type"
,
17
"WaterVapourLatentHeatWithCriticalTemperature"
);
18
DBUG
(
"Create WaterVapourLatentHeatWithCriticalTemperature phase property"
);
19
20
// Second access for storage.
22
auto
property_name = config.
peekConfigParameter
<std::string>(
"name"
);
23
25
return
std::make_unique<WaterVapourLatentHeatWithCriticalTemperature>(
26
std::move(property_name));
27
}
28
}
// namespace MaterialPropertyLib
ConfigTree.h
CreateWaterVapourLatentHeatWithCriticalTemperature.h
DBUG
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:22
Property.h
WaterVapourLatentHeatWithCriticalTemperature.h
BaseLib::ConfigTree
Definition
ConfigTree.h:101
BaseLib::ConfigTree::peekConfigParameter
T peekConfigParameter(std::string const ¶m) const
Definition
ConfigTree-impl.h:116
BaseLib::ConfigTree::checkConfigParameter
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
Definition
ConfigTree.cpp:166
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:98
MaterialPropertyLib::createWaterVapourLatentHeatWithCriticalTemperature
std::unique_ptr< Property > createWaterVapourLatentHeatWithCriticalTemperature(BaseLib::ConfigTree const &config)
Definition
CreateWaterVapourLatentHeatWithCriticalTemperature.cpp:12
MaterialLib
MPL
Properties
Enthalpy
CreateWaterVapourLatentHeatWithCriticalTemperature.cpp
Generated by
1.14.0