OGS
BoreholeGeometry.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 "BoreholeGeometry.h"
5
7
8namespace ProcessLib
9{
10namespace HeatTransportBHE
11{
12namespace BHE
13{
15{
16 const auto borehole_length =
18 config.getConfigParameter<double>("length");
19 const auto borehole_diameter =
21 config.getConfigParameter<double>("diameter");
22 return {borehole_length, borehole_diameter};
23}
24} // namespace BHE
25} // namespace HeatTransportBHE
26} // namespace ProcessLib
T getConfigParameter(std::string const &param) const
BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const &config)