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