41 #ifndef Foam_hexCell_H 42 #define Foam_hexCell_H 68 static const label modelFaces_[6][4];
71 static const label modelEdges_[12][2];
77 inline void copyFace(
Foam::face&
f,
const label facei)
const;
85 void front() =
delete;
97 inline explicit hexCell(std::initializer_list<label> list);
110 template<
unsigned AnyNum>
183 template<>
struct is_contiguous_label<hexCell> : std::true_type {};
Foam::edge reverseEdge(const label edgei) const
Return i-th edge reversed.
A face is a list of labels corresponding to mesh vertices.
A 1D vector of objects of type <T> with a fixed length <N>.
An analytical geometric cellShape.
static const Foam::edgeList & modelEdges()
Return the model edges.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Foam::face face(const label facei) const
Return i-th face.
Foam::edge edge(const label edgei) const
Return i-th edge.
static const Foam::faceList & modelFaces()
Return the model faces.
static constexpr label nEdges() noexcept
Number of edges for HEX.
point centre(const UList< point > &meshPoints) const
Cell centre - uses simple average of points.
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
A hexahedral cell primitive.
void front()=delete
The front() accessor (from FixedList) has no purpose.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
cellShape shape(const bool doCollapse=false) const
Return HEX shape cell.
pointField points(const UList< point > &meshPoints) const
The points corresponding to this shape.
static constexpr label nFaces() noexcept
Number of faces for HEX.
A template class to specify that a data type can be considered as being contiguous in memory...
static constexpr label nPoints() noexcept
Number of points for HEX.
hexCell()
Default construct, with invalid point labels (-1)
void back()=delete
The back() accessor (from FixedList) has no purpose.
Foam::edgeList edges() const
Return list of cell edges [12].
Foam::faceList faces() const
Return list of cell faces [6].