Class FaceNode

Class Documentation

class FaceNode

Node on a face.

This class represents 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 abstracts the node for usage with std::map and std::set.

Public Functions

constexpr FaceNode() = default

Default constructor.

inline constexpr FaceNode(std::uint32_t cell_idx, std::uint16_t face_idx, std::uint16_t face_node_idx)

Member constructor.

inline bool operator<(const FaceNode &other) const

Comparison operator for ordering.

inline bool operator==(const 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.