Go to the documentation of this file.
90 static const label a[4] = {1, 0, 0, 0};
91 static const label
b[4] = {2, 3, 1, 2};
92 static const label
c[4] = {3, 2, 3, 1};
95 if (facei < 0 || facei >= 4)
98 <<
"index out of range 0 -> 3. facei = " << facei
105 operator[](a[facei]),
106 operator[](
b[facei]),
116 static const label edgeFaces[6] = {2, 3, 1, 0, 0, 1};
119 if (edgei < 0 || edgei >= 6)
122 <<
"edge index out of range 0 -> 5. edgei = " << edgei
127 return edgeFaces[edgei];
139 static const label adjacentFace[6][4] =
150 if (facei < 0 || facei >= 4)
153 <<
"face index out of range 0 -> 3. facei = " << facei
157 if (edgei < 0 || edgei >= 6)
160 <<
"edge index out of range 0 -> 5. edgei = " << edgei
165 return adjacentFace[edgei][facei];
173 static const label pt0[] = {0, 0, 0, 3, 1, 3};
174 static const label pt1[] = {1, 2, 3, 1, 2, 2};
177 if (edgei < 0 || edgei >= 6)
180 <<
"index out of range 0 -> 5. edgei = " << edgei
185 return edge(
operator[](pt0[edgei]),
operator[](pt1[edgei]));
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...
tetCell()
Default construct, with invalid point labels (-1)
tetrahedron< point, const point & > tetPointRef
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.
triFace face(const label facei) const
Return i-th face.
errorManip< error > abort(error &err)
edge tetEdge(const label edgei) const
Return i-th edge.
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.
tetPointRef tet(const UList< point > &points) const
Return the tetrahedron.
A 1D vector of objects of type <T> with a fixed length <N>.
const dimensionedScalar c
Speed of light in a vacuum.