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;
88 inline explicit hexCell(std::initializer_list<label> list);
101 template<
unsigned AnyNum>
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An analytical geometric cellShape.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A face is a list of labels corresponding to mesh vertices.
A hexahedral cell primitive.
static const Foam::edgeList & modelEdges()
Return the model edges.
point centre(const UList< point > &meshPoints) const
Cell centre - uses simple average of points.
static const Foam::faceList & modelFaces()
Return the model faces.
Foam::faceList faces() const
Return list of cell faces [6].
Foam::edge reverseEdge(const label edgei) const
Return i-th edge reversed.
Foam::edgeList edges() const
Return list of cell edges [12].
static constexpr label nFaces() noexcept
Number of faces for HEX.
cellShape shape(const bool doCollapse=false) const
Return HEX shape cell.
static constexpr label nEdges() noexcept
Number of edges for HEX.
static constexpr label nPoints() noexcept
Number of points for HEX.
hexCell()
Default construct, with invalid point labels (-1)
A template class to specify if a data type is composed solely of Foam::label elements.
A template class to specify that a data type can be considered as being contiguous in memory.