OGS
CreateSoilThermalConductivitySomerton.cpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#include "
CreateSoilThermalConductivitySomerton.h
"
5
6
#include "
BaseLib/ConfigTree.h
"
7
#include "
MaterialLib/MPL/Property.h
"
8
9
namespace
MaterialPropertyLib
10
{
11
std::unique_ptr<Property>
createSoilThermalConductivitySomerton
(
12
BaseLib::ConfigTree
const
& config)
13
{
15
config.
checkConfigParameter
(
"type"
,
"SoilThermalConductivitySomerton"
);
16
17
OGS_FATAL
(
18
"The MPL property SoilThermalConductivitySomerton is "
19
"deprecated. Please use SaturationWeightedThermalConductivity "
20
"instead."
);
21
}
22
}
// namespace MaterialPropertyLib
ConfigTree.h
CreateSoilThermalConductivitySomerton.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:19
Property.h
BaseLib::ConfigTree
Definition
ConfigTree.h:101
BaseLib::ConfigTree::checkConfigParameter
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
Definition
ConfigTree.cpp:166
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:98
MaterialPropertyLib::createSoilThermalConductivitySomerton
std::unique_ptr< Property > createSoilThermalConductivitySomerton(BaseLib::ConfigTree const &config)
Definition
CreateSoilThermalConductivitySomerton.cpp:11
MaterialLib
MPL
Properties
ThermalConductivity
CreateSoilThermalConductivitySomerton.cpp
Generated by
1.14.0