Go to the documentation of this file.
43 const label flipStatus
46 flipStatus_(flipStatus)
65 template<
class TrackingData>
72 template<
class TrackingData>
84 template<
class TrackingData>
111 if (
f.edgeDirection(
e) < 0)
114 consistentInfo.
flip();
117 operator=(consistentInfo);
122 template<
class TrackingData>
128 const bool sameOrientation,
141 if (!sameOrientation)
143 consistentInfo.
flip();
146 operator=(consistentInfo);
151 template<
class TrackingData>
183 if (
f.edgeDirection(
e) > 0)
185 consistentInfo.
flip();
188 operator=(consistentInfo);
193 template<
class TrackingData>
206 inline bool Foam::patchFaceOrientation::operator==
211 return flipStatus_ == rhs.flipStatus_;
215 inline bool Foam::patchFaceOrientation::operator!=
220 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 the 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.
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()
Default construct.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
bool equal(const patchFaceOrientation &, TrackingData &) const
Test for equality, with TrackingData.
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.
A list of faces which address into the list of points.