OGS
CreateWaterDensityIAPWSIF97Region1.cpp
Go to the documentation of this file.
1
12
#include "
CreateWaterDensityIAPWSIF97Region1.h
"
13
14
#include "
BaseLib/ConfigTree.h
"
15
#include "
MaterialLib/MPL/Property.h
"
16
#include "
WaterDensityIAPWSIF97Region1.h
"
17
18
namespace
MaterialPropertyLib
19
{
20
std::unique_ptr<Property>
createWaterDensityIAPWSIF97Region1
(
21
BaseLib::ConfigTree
const
& config)
22
{
24
config.
checkConfigParameter
(
"type"
,
"WaterDensityIAPWSIF97Region1"
);
25
DBUG
(
"Create WaterDensityIAPWSIF97Region1 phase property"
);
26
27
// Second access for storage.
29
auto
property_name = config.
peekConfigParameter
<std::string>(
"name"
);
30
32
return
std::make_unique<WaterDensityIAPWSIF97Region1>(
33
std::move(property_name));
34
}
35
}
// namespace MaterialPropertyLib
ConfigTree.h
CreateWaterDensityIAPWSIF97Region1.h
DBUG
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:30
Property.h
WaterDensityIAPWSIF97Region1.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::createWaterDensityIAPWSIF97Region1
std::unique_ptr< Property > createWaterDensityIAPWSIF97Region1(BaseLib::ConfigTree const &config)
Definition
CreateWaterDensityIAPWSIF97Region1.cpp:20
MaterialLib
MPL
Properties
Density
CreateWaterDensityIAPWSIF97Region1.cpp
Generated by
1.12.0