43 #ifndef Foam_tetCell_H 44 #define Foam_tetCell_H 72 static const label modelFaces_[4][3];
75 static const label modelEdges_[6][2];
83 void front() =
delete;
104 inline explicit tetCell(std::initializer_list<label> list);
117 template<
unsigned AnyNum>
159 inline label
edgeFace(
const label edgei)
const;
200 template<>
struct is_contiguous<tetCell> : std::true_type {};
203 template<>
struct is_contiguous_label<tetCell> : std::true_type {};
Foam::edge reverseEdge(const label edgei) const
Return i-th edge reversed.
tetCell()
Default construct, with invalid point labels (-1)
A 1D vector of objects of type <T> with a fixed length <N>.
static const Foam::edgeList & modelEdges()
Return the model edges.
An analytical geometric cellShape.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
cellShape shape() const
Return TET shape cell.
static constexpr label nEdges() noexcept
Number of edges for TET.
static const Foam::faceList & modelFaces()
Return the model faces.
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
A triangular face using a FixedList of labels corresponding to mesh vertices.
label edgeFace(const label edgei) const
Return first face adjacent to the given edge.
Foam::edge edge(const label edgei) const
Return i-th edge.
A tetrahedral cell primitive.
static constexpr label nFaces() noexcept
Number of faces for TET.
void back()=delete
The back() accessor (from FixedList) has no purpose.
tetPointRef tet(const UList< point > &meshPoints) const
Return the tetrahedron.
static constexpr label nPoints() noexcept
Number of points for TET.
pointField points(const UList< point > &meshPoints) const
The points corresponding to this shape.
Foam::triFace face(const label facei) const
Return i-th face.
label edgeAdjacentFace(const label edgei, const label facei) const
Return face adjacent to the given face sharing the same edge.
Foam::edge tetEdge(label edgei) const
Identical to edge()
void front()=delete
The front() accessor (from FixedList) has no purpose.
cellShape tetCellShape() const
Identical to shape()
const volScalarField & p0