Go to the documentation of this file.
32 template<
class TrackingData>
59 scalar
diff = distSqr_ - dist2;
67 if ((
diff < SMALL) || ((distSqr_ > SMALL) && (
diff/distSqr_ < tol)))
101 origin_(wpt.origin()),
102 distSqr_(wpt.distSqr())
132 template<
class TrackingData>
135 return distSqr_ > -SMALL;
140 template<
class TrackingData>
157 if ((distSqr() > SMALL) && ((
diff/distSqr()) < tol))
169 template<
class TrackingData>
175 const point& faceCentre,
179 origin_ -= faceCentre;
183 template<
class TrackingData>
197 template<
class TrackingData>
203 const point& faceCentre,
208 origin_ += faceCentre;
213 template<
class TrackingData>
217 const label thisCellI,
218 const label neighbourFaceI,
236 template<
class TrackingData>
240 const label thisFaceI,
241 const label neighbourCellI,
258 template<
class TrackingData>
262 const label thisFaceI,
279 template<
class TrackingData>
294 return origin() == rhs.
origin();
300 return !(*
this == rhs);
bool sameGeometry(const polyMesh &, const wallPoint &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
Holds information regarding nearest wall point. Used in wall distance calculation.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
bool operator!=(const wallPoint &) const
bool operator==(const wallPoint &) const
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
dimensioned< scalar > mag(const dimensioned< Type > &)
const point & origin() const
bool updateFace(const polyMesh &, const label thisFaceI, const label neighbourCellI, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
wallPoint()
Construct null.
Mesh consisting of general polyhedral cells.
dimensionSet transform(const dimensionSet &)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
void enterDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
const vectorField & cellCentres() const
const vectorField & faceCentres() const
bool equal(const wallPoint &, TrackingData &td) const
Same (like operator==)
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
bool update(const point &, const wallPoint &w2, const scalar tol, TrackingData &td)
Evaluate distance to point. Update distSqr, origin from whomever.