55 template<
class TrackingData>
58 return distance_ != -1;
63 template<
class TrackingData>
77 template<
class TrackingData>
82 const label patchFacei,
83 const point& faceCentre,
90 template<
class TrackingData>
101 template<
class TrackingData>
106 const label patchFacei,
107 const point& faceCentre,
114 template<
class TrackingData>
118 const label thisCelli,
119 const label neighbourFacei,
127 operator=(neighbourInfo);
138 template<
class TrackingData>
142 const label thisFacei,
143 const label neighbourCelli,
153 data_ = neighbourInfo.data_;
154 distance_ = neighbourInfo.distance_ + 1;
165 template<
class TrackingData>
169 const label thisFacei,
178 operator=(neighbourInfo);
188 template<
class TrackingData>
201 inline bool Foam::topoDistanceData::operator==
210 inline bool Foam::topoDistanceData::operator!=
215 return !(*
this == rhs);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool equal(const topoDistanceData &, TrackingData &td) const
Same (like operator==)
bool sameGeometry(const polyMesh &, const topoDistanceData &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool operator==(const topoDistanceData &) const
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
topoDistanceData()
Construct null.
For use with FaceCellWave. Determines topological distance to starting faces.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.