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==
181 return data() == rhs.data() && distance() == rhs.distance();
185 inline bool Foam::topoDistanceData::operator!=
190 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.
For use with FaceCellWave. Determines topological distance to starting faces.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool sameGeometry(const polyMesh &, const topoDistanceData &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
bool equal(const topoDistanceData &, TrackingData &td) const
Same (like operator==)
topoDistanceData()
Construct null.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
void transform(const polyPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
dimensionSet transform(const dimensionSet &)