55 template<
class TrackingData>
58 return distance_ != -1;
63 template<
class TrackingData>
77 template<
class TrackingData>
81 const label patchFacei,
89 template<
class TrackingData>
93 const label thisCelli,
94 const label neighbourFacei,
102 operator=(neighbourInfo);
113 template<
class TrackingData>
117 const label thisFacei,
118 const label neighbourCelli,
128 data_ = neighbourInfo.data_;
129 distance_ = neighbourInfo.distance_ + 1;
140 template<
class TrackingData>
144 const label thisFacei,
153 operator=(neighbourInfo);
163 template<
class TrackingData>
176 inline bool Foam::topoDistanceData::operator==
185 inline bool Foam::topoDistanceData::operator!=
190 return !(*
this == rhs);
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 polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
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.