OGS
ProcessLib::HeatTransportBHE::BHE::BoreholeGeometry Struct Reference

Detailed Description

Definition at line 31 of file BoreholeGeometry.h.

#include <BoreholeGeometry.h>

Collaboration diagram for ProcessLib::HeatTransportBHE::BHE::BoreholeGeometry:
[legend]

Public Member Functions

BoreholeGeometry rebuildForNodes (std::vector< MeshLib::Node * > const &new_nodes) const

Public Attributes

double const length
DiameterProfile const sections
 Section boundaries and borehole diameters.
ParameterLib::Parameter< double > const * diameter_param {nullptr}

Member Function Documentation

◆ rebuildForNodes()

BoreholeGeometry ProcessLib::HeatTransportBHE::BHE::BoreholeGeometry::rebuildForNodes ( std::vector< MeshLib::Node * > const & new_nodes) const

Rebuild this geometry for different BHE nodes. Used for grouped BHE definitions where config is shared but each BHE has its own node set.

Definition at line 52 of file BoreholeGeometry.cpp.

54{
55 if (!diameter_param)
56 {
58 "Cannot rebuild borehole geometry: no diameter parameter stored. "
59 "This geometry was not created from a parameter-based config.");
60 }
61 return buildBoreholeGeometry(length, *diameter_param, new_nodes);
62}
#define OGS_FATAL(...)
Definition Error.h:19
static BoreholeGeometry buildBoreholeGeometry(double borehole_length, ParameterLib::Parameter< double > const &diameter_parameter, std::vector< MeshLib::Node * > const &bhe_nodes)
ParameterLib::Parameter< double > const * diameter_param

References ProcessLib::HeatTransportBHE::BHE::buildBoreholeGeometry(), diameter_param, length, and OGS_FATAL.

Member Data Documentation

◆ diameter_param

ParameterLib::Parameter<double> const* ProcessLib::HeatTransportBHE::BHE::BoreholeGeometry::diameter_param {nullptr}

Stored for rebuilding geometry with different BHE nodes (grouped BHE definitions). May be nullptr for test-constructed objects.

Definition at line 44 of file BoreholeGeometry.h.

44{nullptr};

Referenced by rebuildForNodes().

◆ length

double const ProcessLib::HeatTransportBHE::BHE::BoreholeGeometry::length

Total length/depth of the BHE unit is m

Definition at line 37 of file BoreholeGeometry.h.

Referenced by rebuildForNodes().

◆ sections

DiameterProfile const ProcessLib::HeatTransportBHE::BHE::BoreholeGeometry::sections

Section boundaries and borehole diameters.

Definition at line 40 of file BoreholeGeometry.h.


The documentation for this struct was generated from the following files: