OGS
CreateCubicLaw.cpp
Go to the documentation of this file.
1
10
#include "
CreateCubicLaw.h
"
11
12
#include "
BaseLib/ConfigTree.h
"
13
#include "
CubicLaw.h
"
14
15
namespace
MaterialLib::Fracture::Permeability
16
{
17
std::unique_ptr<Permeability>
createCubicLaw
(
BaseLib::ConfigTree
const
& config)
18
{
20
config.
checkConfigParameter
(
"type"
,
"CubicLaw"
);
21
23
return
std::make_unique<CubicLaw>();
24
}
25
}
// namespace MaterialLib::Fracture::Permeability
ConfigTree.h
CreateCubicLaw.h
CubicLaw.h
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib::ConfigTree::checkConfigParameter
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
Definition
ConfigTree.cpp:151
MaterialLib::Fracture::Permeability
Definition
ConstantPermeability.cpp:13
MaterialLib::Fracture::Permeability::createCubicLaw
std::unique_ptr< Permeability > createCubicLaw(BaseLib::ConfigTree const &config)
Definition
CreateCubicLaw.cpp:17
MaterialLib
FractureModels
Permeability
CreateCubicLaw.cpp
Generated by
1.10.0