OGS 6.2.1-76-gbb689931b
BoreholeGeometry.h
Go to the documentation of this file.
1 
12 #pragma once
13 
14 #include <boost/math/constants/constants.hpp>
15 
16 namespace BaseLib
17 {
18 class ConfigTree;
19 }
20 namespace ProcessLib
21 {
22 namespace HeatTransportBHE
23 {
24 namespace BHE
25 {
27 {
32  double const length;
33 
38  double const diameter;
39 
40  double area() const
41  {
42  constexpr double pi = boost::math::constants::pi<double>();
43  return pi * diameter * diameter / 4;
44  }
45 };
46 
48 
49 } // namespace BHE
50 } // namespace HeatTransportBHE
51 } // namespace ProcessLib
BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const &config)
Build information.