OGS
BoreholeGeometry.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <numbers>
14
15namespace BaseLib
16{
17class ConfigTree;
18}
19namespace ProcessLib
20{
21namespace HeatTransportBHE
22{
23namespace BHE
24{
26{
31 double const length;
32
37 double const diameter;
38
39 double area() const { return std::numbers::pi * diameter * diameter / 4; }
40};
41
42BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const& config);
43
44} // namespace BHE
45} // namespace HeatTransportBHE
46} // namespace ProcessLib
BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const &config)