Class CellFaceOrientations
Defined in File spds.h
Class Documentation
-
class CellFaceOrientations
The orientation of every face of every local cell with respect to a sweep direction.
Every direction of an unstructured mesh has its own orientations, so they are stored flat: the faces of cell c are entries offsets[c] to offsets[c + 1] - 1, in the order of the cell’s faces.
Public Functions
-
CellFaceOrientations() = default
-
CellFaceOrientations(const Mesh &grid, FaceOrientation value)
Sizes the storage for the faces of every local cell of the grid and sets them to value.
-
inline std::span<const FaceOrientation> operator[](std::size_t cell_local_id) const
Returns the orientations of the faces of the cell with the given local id.
-
inline std::span<FaceOrientation> operator[](std::size_t cell_local_id)
Returns the orientations of the faces of the cell with the given local id.
-
inline std::size_t size() const
Returns the number of cells.
-
CellFaceOrientations() = default