34template<
class TrackingData>
35inline bool Foam::wallNormalInfo::update
37 const wallNormalInfo&
w2,
55 normal_ =
w2.normal();
78template<
class TrackingData>
86template<
class TrackingData>
100template<
class TrackingData>
105 const label patchFacei,
106 const point& faceCentre,
113template<
class TrackingData>
124template<
class TrackingData>
129 const label patchFacei,
130 const point& faceCentre,
137template<
class TrackingData>
141 const label thisCelli,
142 const label neighbourFacei,
148 return update(neighbourWallInfo,
td);
153template<
class TrackingData>
157 const label thisFacei,
158 const label neighbourCelli,
164 return update(neighbourWallInfo,
td);
169template<
class TrackingData>
173 const label thisFacei,
179 return update(neighbourWallInfo,
td);
183template<
class TrackingData>
194template<
class TrackingData>
225inline bool Foam::wallNormalInfo::operator==
230 return normal_ ==
rhs.normal_;
234inline bool Foam::wallNormalInfo::operator!=
239 return !(*
this ==
rhs);
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Holds information regarding nearest wall point. Used in wall refinement.
wallNormalInfo()
Default construct.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
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).
bool interpolate(const polyMesh &, const point &pt, const label i0, const wallNormalInfo &f0, const label i1, const wallNormalInfo &f1, const scalar weight, const scalar tol, TrackingData &td)
Interpolate between two values (lerp). Returns true if causes changes. Not sure if needs to be specia...
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.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
errorManip< error > abort(error &err)
vector point
Point is a vector.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...