38 const label flipStatus
41 flipStatus_(flipStatus)
66 template<
class TrackingData>
73 template<
class TrackingData>
85 template<
class TrackingData>
108 if (
f.edgeDirection(
e) < 0)
111 consistentInfo.
flip();
114 operator=(consistentInfo);
120 template<
class TrackingData>
126 const bool sameOrientation,
139 if (!sameOrientation)
141 consistentInfo.
flip();
144 operator=(consistentInfo);
150 template<
class TrackingData>
174 if (
f.edgeDirection(
e) > 0)
176 consistentInfo.
flip();
179 operator=(consistentInfo);
185 template<
class TrackingData>
198 inline bool Foam::patchFaceOrientation::operator==
203 return flipStatus() == rhs.flipStatus();
207 inline bool Foam::patchFaceOrientation::operator!=
212 return !(*
this == rhs);
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
const List< FaceType > & localFaces() const
Return patch faces addressing into local point list.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
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 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.
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.
label flipStatus() const
Orientation.
bool equal(const patchFaceOrientation &, TrackingData &) const
Same (like operator==)
void transform(const polyMesh &mesh, const indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
Mesh consisting of general polyhedral cells.
bool valid(const PtrList< ModelType > &l)
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< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)