OGS
Pipe.cpp
Go to the documentation of this file.
1
11
#include "
Pipe.h
"
12
13
#include "
BaseLib/ConfigTree.h
"
14
15
namespace
ProcessLib
16
{
17
namespace
HeatTransportBHE
18
{
19
namespace
BHE
20
{
21
Pipe
createPipe
(
BaseLib::ConfigTree
const
& config)
22
{
24
const
auto
diameter = config.
getConfigParameter
<
double
>(
"diameter"
);
25
const
auto
wall_thickness =
27
config.
getConfigParameter
<
double
>(
"wall_thickness"
);
28
const
auto
wall_thermal_conductivity =
30
config.
getConfigParameter
<
double
>(
"wall_thermal_conductivity"
);
31
return
{diameter, wall_thickness, wall_thermal_conductivity};
32
}
33
}
// namespace BHE
34
}
// namespace HeatTransportBHE
35
}
// namespace ProcessLib
ConfigTree.h
Pipe.h
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib::ConfigTree::getConfigParameter
T getConfigParameter(std::string const ¶m) const
Definition
ConfigTree-impl.h:41
ProcessLib::HeatTransportBHE::BHE::createPipe
Pipe createPipe(BaseLib::ConfigTree const &config)
Definition
Pipe.cpp:21
ProcessLib
Definition
ProjectData.h:51
ProcessLib::HeatTransportBHE::BHE::Pipe
Definition
Pipe.h:27
ProcessLib
HeatTransportBHE
BHE
Pipe.cpp
Generated by
1.11.0