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