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