55 template<
class TrackingData>
58 return distance_ != -1;
63 template<
class TrackingData>
76 template<
class TrackingData>
80 const label patchFacei,
88 template<
class TrackingData>
101 data_ = edgeInfo.data_;
102 distance_ = edgeInfo.distance_ + 1;
113 template<
class TrackingData>
125 operator=(newPointInfo);
136 template<
class TrackingData>
146 operator=(newPointInfo);
157 template<
class TrackingData>
170 operator=(pointInfo);
180 template<
class TrackingData>
193 inline bool Foam::pointTopoDistanceData::operator==
198 return data() == rhs.data() && distance() == rhs.distance();
202 inline bool Foam::pointTopoDistanceData::operator!=
207 return !(*
this == rhs);
For use with PointEdgeWave. Determines topological distance to starting points.
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointi, const pointTopoDistanceData &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
bool updatePoint(const polyMesh &mesh, const label pointi, const label edgeI, const pointTopoDistanceData &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.
bool equal(const pointTopoDistanceData &, TrackingData &) const
Same (like operator==)
bool sameGeometry(const pointTopoDistanceData &, const scalar tol, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
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.
pointTopoDistanceData()
Construct null.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
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 &)