40 const label flipStatus
43 flipStatus_(flipStatus)
68 template<
class TrackingData>
75 template<
class TrackingData>
87 template<
class TrackingData>
117 consistentInfo.
flip();
120 operator=(consistentInfo);
125 template<
class TrackingData>
131 const bool sameOrientation,
144 if (!sameOrientation)
146 consistentInfo.
flip();
149 operator=(consistentInfo);
154 template<
class TrackingData>
188 consistentInfo.
flip();
191 operator=(consistentInfo);
196 template<
class TrackingData>
209 inline bool Foam::patchFaceOrientation::operator==
218 inline bool Foam::patchFaceOrientation::operator!=
223 return !(*
this == rhs);
patchFaceOrientation()
Construct null.
int edgeDirection(const edge &) const
Return the edge direction on the face.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
A face is a list of labels corresponding to mesh vertices.
const double e
Elementary charge.
bool operator==(const patchFaceOrientation &) const
const List< Face > & localFaces() const
Return patch faces addressing into local point list.
Given point flip all faces such that normals point in same direction.
Transport of orientation for use in PatchEdgeFaceWave.
bool equal(const patchFaceOrientation &, TrackingData &) const
Same (like operator==)
A list of faces which address into the list of points.
label flipStatus() const
Orientation.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
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.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
void flip()
Reverse orientation.
void transform(const polyMesh &mesh, const indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
Mesh consisting of general polyhedral cells.