OGS
anonymous_namespace{MeshUtils.cpp}::ChainWalkResult Struct Reference

Detailed Description

Walk the BHE element chain starting from the wellhead node using mesh topology (node-element adjacency). Returns elements in order from wellhead to bottom and computes arc-length element distances.

Unlike z-sorting, this works correctly for any BHE orientation (vertical, inclined, or horizontal).

Definition at line 122 of file HeatTransportBHE/BHE/MeshUtils.cpp.

Public Attributes

std::vector< MeshLib::Element * > ordered_elements
std::vector< MeshLib::Node * > ordered_nodes
std::unordered_map< std::size_t, double > element_distances_from_wellhead

Member Data Documentation

◆ element_distances_from_wellhead

std::unordered_map<std::size_t, double> anonymous_namespace{MeshUtils.cpp}::ChainWalkResult::element_distances_from_wellhead

Definition at line 126 of file HeatTransportBHE/BHE/MeshUtils.cpp.

◆ ordered_elements

std::vector<MeshLib::Element*> anonymous_namespace{MeshUtils.cpp}::ChainWalkResult::ordered_elements

Definition at line 124 of file HeatTransportBHE/BHE/MeshUtils.cpp.

◆ ordered_nodes

std::vector<MeshLib::Node*> anonymous_namespace{MeshUtils.cpp}::ChainWalkResult::ordered_nodes

Definition at line 125 of file HeatTransportBHE/BHE/MeshUtils.cpp.


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