39 #ifndef patchFaceOrientation_H 40 #define patchFaceOrientation_H 52 class patchFaceOrientation;
54 Istream&
operator>>(Istream&, patchFaceOrientation&);
55 Ostream&
operator<<(Ostream&,
const patchFaceOrientation&);
96 template<
class TrackingData>
97 inline bool valid(TrackingData&
td)
const;
100 template<
class TrackingData>
111 template<
class TrackingData>
124 template<
class TrackingData>
130 const bool sameOrientation,
136 template<
class TrackingData>
149 template<
class TrackingData>
172 template<>
struct is_contiguous<patchFaceOrientation> : std::true_type {};
175 template<>
struct is_contiguous_label<patchFaceOrientation> : std::true_type {};
patchFaceOrientation()
Default construct.
bool equal(const patchFaceOrientation &, TrackingData &) const
Test for equality, with 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.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Transport of orientation for use in PatchEdgeFaceWave.
friend Istream & operator>>(Istream &, patchFaceOrientation &)
A list of faces which address into the list of points.
Istream & operator>>(Istream &, directionInfo &)
label flipStatus() const
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 operator==(const patchFaceOrientation &) const
Test for equality.
void flip()
Reverse the orientation.
friend Ostream & operator<<(Ostream &, const patchFaceOrientation &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void transform(const polyMesh &mesh, const indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
Apply rotation matrix.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const std::string patch
OpenFOAM patch number as a std::string.
Mesh consisting of general polyhedral cells.
Tensor of scalars, i.e. Tensor<scalar>.
bool operator!=(const patchFaceOrientation &) const
Test for equality.