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
16{
17std::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
void checkConfigParameter(std::string const &param, std::string_view const value) const
std::unique_ptr< Permeability > createCubicLaw(BaseLib::ConfigTree const &config)