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]));
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
tetPointRef tet(const pointField &) const
Return the tetrahedron.
edge tetEdge(const label edgeI) const
Return i-th edge.
triFace face(const label facei) const
Return i-th face.
label edgeFace(const label edgeI) const
Return first face adjacent to the given edge.
label edgeAdjacentFace(const label edgeI, const label facei) const
Return face adjacent to the given face sharing the same edge.
A triangular face using a FixedList of labels corresponding to mesh vertices.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
tetrahedron< point, const point & > tetPointRef