43 const label flipStatus
46 flipStatus_(flipStatus)
65template<
class TrackingData>
72template<
class TrackingData>
84template<
class TrackingData>
101 const face&
f = patch.localFaces()[facei];
102 const edge&
e = patch.edges()[edgeI];
111 if (
f.edgeDirection(
e) < 0)
114 consistentInfo.
flip();
117 operator=(consistentInfo);
122template<
class TrackingData>
128 const bool sameOrientation,
141 if (!sameOrientation)
143 consistentInfo.
flip();
146 operator=(consistentInfo);
151template<
class TrackingData>
169 const face&
f = patch.localFaces()[facei];
170 const edge&
e = patch.edges()[edgeI];
183 if (
f.edgeDirection(
e) > 0)
185 consistentInfo.
flip();
188 operator=(consistentInfo);
193template<
class TrackingData>
211 return flipStatus_ == rhs.flipStatus_;
220 return !(*
this == rhs);
A list of faces which address into the list of points.
bool valid() const
True if all internal ids are non-negative.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
A face is a list of labels corresponding to mesh vertices.
Given point flip all faces such that normals point in same direction.
Transport of orientation for use in PatchEdgeFaceWave.
void flip()
Reverse the orientation.
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.
patchFaceOrientation()
Default construct.
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.
bool equal(const patchFaceOrientation &, TrackingData &) const
Test for equality, with TrackingData.
Mesh consisting of general polyhedral cells.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)