OGS
CreateWaterVapourLatentHeatWithCriticalTemperature.cpp
Go to the documentation of this file.
1
12
#include "
CreateWaterVapourLatentHeatWithCriticalTemperature.h
"
13
14
#include "
BaseLib/ConfigTree.h
"
15
#include "
MaterialLib/MPL/Property.h
"
16
#include "
WaterVapourLatentHeatWithCriticalTemperature.h
"
17
18
namespace
MaterialPropertyLib
19
{
20
std::unique_ptr<Property>
createWaterVapourLatentHeatWithCriticalTemperature
(
21
BaseLib::ConfigTree
const
& config)
22
{
24
config.
checkConfigParameter
(
"type"
,
25
"WaterVapourLatentHeatWithCriticalTemperature"
);
26
DBUG
(
"Create WaterVapourLatentHeatWithCriticalTemperature phase property"
);
27
28
// Second access for storage.
30
auto
property_name = config.
peekConfigParameter
<std::string>(
"name"
);
31
33
return
std::make_unique<WaterVapourLatentHeatWithCriticalTemperature>(
34
std::move(property_name));
35
}
36
}
// namespace MaterialPropertyLib
ConfigTree.h
CreateWaterVapourLatentHeatWithCriticalTemperature.h
DBUG
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:30
Property.h
WaterVapourLatentHeatWithCriticalTemperature.h
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib::ConfigTree::peekConfigParameter
T peekConfigParameter(std::string const ¶m) const
Definition
ConfigTree-impl.h:126
BaseLib::ConfigTree::checkConfigParameter
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
Definition
ConfigTree.cpp:151
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::createWaterVapourLatentHeatWithCriticalTemperature
std::unique_ptr< Property > createWaterVapourLatentHeatWithCriticalTemperature(BaseLib::ConfigTree const &config)
Definition
CreateWaterVapourLatentHeatWithCriticalTemperature.cpp:20
MaterialLib
MPL
Properties
Enthalpy
CreateWaterVapourLatentHeatWithCriticalTemperature.cpp
Generated by
1.12.0