38const Foam::label Foam::tetCell::modelFaces_[4][3] =
51const Foam::label Foam::tetCell::modelEdges_[6][2] =
66 static std::unique_ptr<Foam::faceList> ptr(
nullptr);
75 f[0] = modelFaces_[facei][0];
76 f[1] = modelFaces_[facei][1];
77 f[2] = modelFaces_[facei][2];
88 static std::unique_ptr<Foam::edgeList> ptr(
nullptr);
97 e[0] = modelEdges_[edgei][0];
98 e[1] = modelEdges_[edgei][1];
144 static const cellModel* modelPtr(
nullptr);
157 return this->shape();
Maps a geometry to a set of cell primitives.
static const cellModel * ptr(const modelType model)
Look up pointer to cellModel by enumeration, or nullptr on failure.
An analytical geometric cellShape.
A face is a list of labels corresponding to mesh vertices.
cellShape shape() const
Return TET shape cell.
static const Foam::edgeList & modelEdges()
Return the model edges.
static const Foam::faceList & modelFaces()
Return the model faces.
cellShape tetCellShape() const
Identical to shape().
static constexpr label nFaces() noexcept
Number of faces for TET.
static constexpr label nEdges() noexcept
Number of edges for TET.
List< edge > edgeList
List of edge.
List< face > faceList
List of faces.