OGS
BoreholeGeometry.cpp
Go to the documentation of this file.
1
11
#include "
BoreholeGeometry.h
"
12
13
#include "
BaseLib/ConfigTree.h
"
14
15
namespace
ProcessLib
16
{
17
namespace
HeatTransportBHE
18
{
19
namespace
BHE
20
{
21
BoreholeGeometry
createBoreholeGeometry
(
BaseLib::ConfigTree
const
& config)
22
{
23
const
auto
borehole_length =
25
config.
getConfigParameter
<
double
>(
"length"
);
26
const
auto
borehole_diameter =
28
config.
getConfigParameter
<
double
>(
"diameter"
);
29
return
{borehole_length, borehole_diameter};
30
}
31
}
// namespace BHE
32
}
// namespace HeatTransportBHE
33
}
// namespace ProcessLib
BoreholeGeometry.h
ConfigTree.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::createBoreholeGeometry
BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const &config)
Definition
BoreholeGeometry.cpp:21
ProcessLib
Definition
ProjectData.h:51
ProcessLib::HeatTransportBHE::BHE::BoreholeGeometry
Definition
BoreholeGeometry.h:26
ProcessLib
HeatTransportBHE
BHE
BoreholeGeometry.cpp
Generated by
1.11.0