56template<
class TrackingData>
59 return distance_ != -1;
65template<
class TrackingData>
80template<
class TrackingData>
85 const label patchFacei,
86 const point& faceCentre,
94template<
class TrackingData>
106template<
class TrackingData>
111 const label patchFacei,
112 const point& faceCentre,
120template<
class TrackingData>
124 const label thisCelli,
125 const label neighbourFacei,
133 this->operator=(neighbourInfo);
143template<
class TrackingData>
147 const label thisFacei,
148 const label neighbourCelli,
158 distance_ = neighbourInfo.distance_ + 1;
159 data_ = neighbourInfo.data_;
169template<
class TrackingData>
173 const label thisFacei,
182 this->operator=(neighbourInfo);
191template<
class TrackingData>
210 return distance() == rhs.distance() &&
data() == rhs.data();
220 return !(*
this == rhs);
bool valid() const
True if all internal ids are non-negative.
Database for solution data, solver performance and other reduced data.
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. Templated on passive tr...
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool sameGeometry(const polyMesh &, const topoDistanceData< Type > &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
topoDistanceData()
Construct null with invalid (-1) for distance, null constructor.
bool equal(const topoDistanceData< Type > &, TrackingData &td) const
Test for equality, with TrackingData.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
scalar distance(const vector &p1, const vector &p2)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)