Go to the documentation of this file.
40 const label flipStatus
43 flipStatus_(flipStatus)
68 template<
class TrackingData>
75 template<
class TrackingData>
87 template<
class TrackingData>
114 if (
f.edgeDirection(
e) < 0)
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>
186 if (
f.edgeDirection(
e) > 0)
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);
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
Transport of orientation for use in PatchEdgeFaceWave.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
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...
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
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.
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 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()
Construct null.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
const double e
Elementary charge.
bool equal(const patchFaceOrientation &, TrackingData &) const
Same (like operator==)
const List< Face > & localFaces() const
Return patch faces addressing into local point list.
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.