Go to the documentation of this file.
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...
label edgeAdjacentFace(const label edgeI, const label faceI) const
Return face adjacent to the given face sharing the same edge.
label edgeFace(const label edgeI) const
Return first face adjacent to the given edge.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
edge tetEdge(const label edgeI) const
Return i-th edge.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
tetrahedron< point, const point & > tetPointRef
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
triFace face(const label faceI) const
Return i-th face.
A triangular face using a FixedList of labels corresponding to mesh vertices.
const dimensionedScalar c
Speed of light in a vacuum.
tetPointRef tet(const pointField &) const
Return the tetrahedron.