74template<
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]]
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
edge reverseEdge() const
Return reverse edge as copy.
A face is a list of labels corresponding to mesh vertices.
label edgeFace(const label edgei) const
Return first face adjacent to the given edge.
tetPointRef tet(const UList< point > &meshPoints) const
Return the tetrahedron.
label edgeAdjacentFace(const label edgei, const label facei) const
Return face adjacent to the given face sharing the same edge.
tetCell()
Default construct, with invalid point labels (-1)
static constexpr label nFaces() noexcept
Number of faces for TET.
static constexpr label nEdges() noexcept
Number of edges for TET.
A triangular face using a FixedList of labels corresponding to mesh vertices.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
tetrahedron< point, const point & > tetPointRef
A tetrahedron using referred points.
vectorField pointField
pointField is a vectorField.
errorManip< error > abort(error &err)