74 template<
unsigned AnyNum>
99 <<
"Face index (" << facei <<
") out of range 0..3\n" 106 (*
this)[modelFaces_[facei][0]],
107 (*
this)[modelFaces_[facei][1]],
108 (*
this)[modelFaces_[facei][2]]
117 static const label edgeFaces[6] = {2, 3, 1, 0, 0, 1};
123 <<
"Edge index (" << edgei <<
") out of range 0..5\n" 128 return edgeFaces[edgei];
140 static const label adjacentFace[6][4] =
154 <<
"Face index (" << facei <<
") out of range 0..3\n" 161 <<
"Edge index (" << edgei <<
") out of range 0..5\n" 166 return adjacentFace[edgei][facei];
176 <<
"Edge index (" << edgei <<
") out of range 0..5\n" 183 (*
this)[modelEdges_[edgei][0]],
184 (*
this)[modelEdges_[edgei][1]]
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>.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
edge reverseEdge() const
Return reverse edge as copy.
tetrahedron< point, const point & > tetPointRef
A tetrahedron using referred points.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static constexpr label nEdges() noexcept
Number of edges for TET.
vectorField pointField
pointField is a vectorField.
An edge is a list of two point labels. The functionality it provides supports the discretisation 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.
static constexpr label nFaces() noexcept
Number of faces for TET.
errorManip< error > abort(error &err)
tetPointRef tet(const UList< point > &meshPoints) const
Return the tetrahedron.
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.
const volScalarField & p0