Class AAHD_FaceNode
Defined in File aahd_structs.h
Class Documentation
-
class AAHD_FaceNode
Node on a face, which is also an edge in the sweep graph.
This class representing a node on a face. It stores the cell local index, the face index within the cell and the index of the node relative to the face as compact 64-bit integer. This class abstract the node for usage with std::map and std::set.
Public Functions
-
constexpr AAHD_FaceNode() = default
Default constructor.
-
inline constexpr AAHD_FaceNode(std::uint32_t cell_idx, std::uint16_t face_idx, std::uint16_t face_node_idx)
Member constructor.
-
inline bool operator<(const AAHD_FaceNode &other) const
Comparison operator for ordering.
-
inline bool operator==(const AAHD_FaceNode &other) const
Equality operator.
-
inline std::uint32_t GetCellIndex() const
Get cell local index.
-
inline std::uint16_t GetFaceIndex() const
Get face index.
-
inline std::uint16_t GetFaceNodeIndex() const
Get face node index.
-
inline bool IsInitialized() const
Check if the face node is initialized.
-
constexpr AAHD_FaceNode() = default