OGS
BoreholeGeometry.cpp
Go to the documentation of this file.
1
11#include "BoreholeGeometry.h"
12
13#include "BaseLib/ConfigTree.h"
14
15namespace ProcessLib
16{
17namespace HeatTransportBHE
18{
19namespace BHE
20{
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
T getConfigParameter(std::string const &param) const
BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const &config)