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