40#ifndef wallNormalInfo_H
41#define wallNormalInfo_H
59Ostream&
operator<<(Ostream&,
const wallNormalInfo&);
76 template<
class TrackingData>
109 template<
class TrackingData>
110 inline bool valid(TrackingData& td)
const;
113 template<
class TrackingData>
124 template<
class TrackingData>
129 const label patchFacei,
130 const point& faceCentre,
135 template<
class TrackingData>
140 const label patchFacei,
141 const point& faceCentre,
146 template<
class TrackingData>
155 template<
class TrackingData>
159 const label thisCelli,
160 const label neighbourFacei,
167 template<
class TrackingData>
171 const label thisFacei,
172 const label neighbourCelli,
179 template<
class TrackingData>
183 const label thisFacei,
190 template<
class TrackingData>
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Tensor of scalars, i.e. Tensor<scalar>.
Holds information regarding nearest wall point. Used in wall refinement.
friend Ostream & operator<<(Ostream &, const wallNormalInfo &)
wallNormalInfo()
Default construct.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool operator==(const wallNormalInfo &) const
Test for equality.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const wallNormalInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool sameGeometry(const polyMesh &, const wallNormalInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
friend Istream & operator>>(Istream &, wallNormalInfo &)
bool operator!=(const wallNormalInfo &) const
Test for inequality.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
const vector & normal() const
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const wallNormalInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
bool equal(const wallNormalInfo &, TrackingData &td) const
Test for equality, with TrackingData.
vector point
Point is a vector.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
A template class to specify that a data type can be considered as being contiguous in memory.