OGS
BoreholeGeometry.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <boost/math/constants/constants.hpp>
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
40 {
41 constexpr double pi = boost::math::constants::pi<double>();
42 return pi * diameter * diameter / 4;
43 }
44};
45
46BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const& config);
47
48} // namespace BHE
49} // namespace HeatTransportBHE
50} // namespace ProcessLib
BoreholeGeometry createBoreholeGeometry(BaseLib::ConfigTree const &config)