Go to the documentation of this file.
42 const label flipStatus
45 flipStatus_(flipStatus)
70 template<
class TrackingData>
77 template<
class TrackingData>
89 template<
class TrackingData>
116 if (
f.edgeDirection(
e) < 0)
119 consistentInfo.
flip();
122 operator=(consistentInfo);
127 template<
class TrackingData>
133 const bool sameOrientation,
146 if (!sameOrientation)
148 consistentInfo.
flip();
151 operator=(consistentInfo);
156 template<
class TrackingData>
188 if (
f.edgeDirection(
e) > 0)
190 consistentInfo.
flip();
193 operator=(consistentInfo);
198 template<
class TrackingData>
211 inline bool Foam::patchFaceOrientation::operator==
220 inline bool Foam::patchFaceOrientation::operator!=
225 return !(*
this == rhs);
bool updateFace(const polyMesh &mesh, const indirectPrimitivePatch &patch, const label facei, const label edgeI, const patchFaceOrientation &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on face.
Transport of orientation for use in PatchEdgeFaceWave.
Given point flip all faces such that normals point in same direction.
void transform(const polyMesh &mesh, const indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
void flip()
Reverse orientation.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
bool updateEdge(const polyMesh &mesh, const indirectPrimitivePatch &patch, const label edgeI, const label facei, const patchFaceOrientation &faceInfo, const scalar tol, TrackingData &td)
Influence of face on edge.
patchFaceOrientation()
Construct null.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
bool equal(const patchFaceOrientation &, TrackingData &) const
Same (like operator==)
const std::string patch
OpenFOAM patch number as a std::string.
const dimensionedScalar e
Elementary charge.
A face is a list of labels corresponding to mesh vertices.
label flipStatus() const
Orientation.
A list of faces which address into the list of points.