Transport of orientation for use in PatchEdgeFaceWave. More...
Public Member Functions | |
patchFaceOrientation () | |
Construct null. More... | |
patchFaceOrientation (const label) | |
Construct from components. More... | |
label | flipStatus () const |
Orientation. More... | |
void | flip () |
Reverse orientation. More... | |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
void | transform (const polyMesh &mesh, const indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td) |
Apply rotation matrix. More... | |
template<class TrackingData > | |
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. More... | |
template<class TrackingData > | |
bool | updateEdge (const polyMesh &mesh, const indirectPrimitivePatch &patch, const patchFaceOrientation &edgeInfo, const bool sameOrientation, const scalar tol, TrackingData &td) |
New information for edge (from e.g. coupled edge) More... | |
template<class TrackingData > | |
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. More... | |
template<class TrackingData > | |
bool | equal (const patchFaceOrientation &, TrackingData &) const |
Same (like operator==) More... | |
bool | operator== (const patchFaceOrientation &) const |
bool | operator!= (const patchFaceOrientation &) const |
Friends | |
Ostream & | operator<< (Ostream &, const patchFaceOrientation &) |
Istream & | operator>> (Istream &, patchFaceOrientation &) |
Transport of orientation for use in PatchEdgeFaceWave.
Definition at line 62 of file patchFaceOrientation.H.
|
inline |
Construct null.
Definition at line 32 of file patchFaceOrientationI.H.
|
inline |
Construct from components.
Definition at line 39 of file patchFaceOrientationI.H.
|
inline |
Orientation.
Definition at line 49 of file patchFaceOrientationI.H.
Referenced by patchFaceOrientation::operator==().
|
inline |
Reverse orientation.
Definition at line 55 of file patchFaceOrientationI.H.
References orientedSurface::FLIP, and orientedSurface::NOFLIP.
Referenced by meshRefinement::mergeBaffles(), patchFaceOrientation::updateEdge(), and patchFaceOrientation::updateFace().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 69 of file patchFaceOrientationI.H.
References patchFaceOrientation::transform(), and orientedSurface::UNVISITED.
Referenced by patchFaceOrientation::updateEdge(), and patchFaceOrientation::updateFace().
|
inline |
Apply rotation matrix.
Definition at line 77 of file patchFaceOrientationI.H.
References patchFaceOrientation::updateEdge().
Referenced by patchFaceOrientation::valid().
|
inline |
Influence of face on edge.
Definition at line 89 of file patchFaceOrientationI.H.
References Foam::e, face::edgeDirection(), PrimitivePatch< FaceList, PointField >::edges(), f(), patchFaceOrientation::flip(), PrimitivePatch< FaceList, PointField >::localFaces(), and patchFaceOrientation::valid().
Referenced by meshRefinement::mergeBaffles(), and patchFaceOrientation::transform().
|
inline |
New information for edge (from e.g. coupled edge)
Definition at line 127 of file patchFaceOrientationI.H.
References patchFaceOrientation::flip(), patchFaceOrientation::updateFace(), and patchFaceOrientation::valid().
|
inline |
Influence of edge on face.
Definition at line 156 of file patchFaceOrientationI.H.
References Foam::e, face::edgeDirection(), PrimitivePatch< FaceList, PointField >::edges(), patchFaceOrientation::equal(), f(), patchFaceOrientation::flip(), PrimitivePatch< FaceList, PointField >::localFaces(), and patchFaceOrientation::valid().
Referenced by patchFaceOrientation::updateEdge().
|
inline |
Same (like operator==)
Definition at line 198 of file patchFaceOrientationI.H.
References patchFaceOrientation::operator==().
Referenced by patchFaceOrientation::updateFace().
|
inline |
Definition at line 210 of file patchFaceOrientationI.H.
References patchFaceOrientation::flipStatus().
Referenced by patchFaceOrientation::equal().
|
inline |
Definition at line 219 of file patchFaceOrientationI.H.
|
friend |
|
friend |