38 const Foam::label Foam::tetCell::modelFaces_[4][3] =
51 const 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();
A face is a list of labels corresponding to mesh vertices.
static const Foam::edgeList & modelEdges()
Return the model edges.
An analytical geometric cellShape.
cellShape shape() const
Return TET shape cell.
static constexpr label nEdges() noexcept
Number of edges for TET.
const dimensionedScalar e
Elementary charge.
static const Foam::faceList & modelFaces()
Return the model faces.
static const cellModel * ptr(const modelType model)
Look up pointer to cellModel by enumeration, or nullptr on failure.
static constexpr label nFaces() noexcept
Number of faces for TET.
cellShape tetCellShape() const
Identical to shape()