69 static const label a[] = {1, 0, 0, 0};
70 static const label b[] = {2, 3, 1, 2};
71 static const label c[] = {3, 2, 3, 1};
77 <<
"index out of range 0 -> 3. facei = " << facei
96 static const label edgeFaces[6] = {2, 3, 1, 0, 0, 1};
102 <<
"edge index out of range 0 -> 5. edgeI = " << edgeI
107 return edgeFaces[edgeI];
119 static const label adjacentFace[6][4] =
133 <<
"face index out of range 0 -> 3. facei = " << facei
140 <<
"edge index out of range 0 -> 5. edgeI = " << edgeI
145 return adjacentFace[edgeI][facei];
154 static const label start[] = {0, 0, 0, 3, 1, 3};
155 static const label end[] = {1, 2, 3, 1, 2, 2};
161 <<
"index out of range 0 -> 5. edgeI = " << edgeI
166 return edge(
operator[](start[edgeI]),
operator[](end[edgeI]));
174 points[
operator[](0)],
175 points[
operator[](1)],
176 points[
operator[](2)],
177 points[
operator[](3)]
tetrahedron< point, const point & > tetPointRef
label edgeAdjacentFace(const label edgeI, const label facei) const
Return face adjacent to the given face sharing the same edge.
tetPointRef tet(const pointField &) const
Return the tetrahedron.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
const dimensionedScalar c
Speed of light in a vacuum.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
label & operator[](const label)
Return element of FixedList.
A triangular face using a FixedList of labels corresponding to mesh vertices.
edge tetEdge(const label edgeI) const
Return i-th edge.
errorManip< error > abort(error &err)
iterator end()
Return an iterator to end traversing the FixedList.
label edgeFace(const label edgeI) const
Return first face adjacent to the given edge.
triFace face(const label facei) const
Return i-th face.