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>
183template<>
struct is_contiguous_label<hexCell> : std::true_type {};
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An analytical geometric cellShape.
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
A face is a list of labels corresponding to mesh vertices.
A hexahedral cell primitive.
Foam::edge edge(const label edgei) const
Return i-th edge.
void back()=delete
The back() accessor (from FixedList) has no purpose.
void front()=delete
The front() accessor (from FixedList) has no purpose.
Foam::face face(const label facei) const
Return i-th face.
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).
List< edge > edgeList
List of edge.
List< face > faceList
List of faces.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
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.