Go to the documentation of this file.
32 template<
class TrackingData>
44 previousPoint_ = point0_;
72 const point& previousPoint,
78 previousPoint_(previousPoint),
110 template<
class TrackingData>
118 template<
class TrackingData>
134 if ((dist() > SMALL) && ((
diff/dist()) < tol))
146 template<
class TrackingData>
150 const label patchPointI,
155 previousPoint_ -= coord;
159 template<
class TrackingData>
172 template<
class TrackingData>
176 const label patchPointI,
182 previousPoint_ += coord;
187 template<
class TrackingData>
200 return update(edgeInfo, tol, td);
210 template<
class TrackingData>
222 return update(newPointInfo, tol, td);
232 template<
class TrackingData>
240 return update(newPointInfo, tol, td);
245 template<
class TrackingData>
258 return update(pointInfo, tol, td);
267 template<
class TrackingData>
280 inline bool Foam::pointEdgeStructuredWalk::operator==
289 inline bool Foam::pointEdgeStructuredWalk::operator!=
294 return !(*
this == rhs);
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
vector data_
Passive data.
Determines length of string of edges walked to point.
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to origin.
void leaveDomain(const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
Convert origin to relative vector to leaving point.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
dimensioned< scalar > mag(const dimensioned< Type > &)
scalar dist_
Sum of distance.
const vector & data() const
Mesh consisting of general polyhedral cells.
dimensionSet transform(const dimensionSet &)
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
bool equal(const pointEdgeStructuredWalk &, TrackingData &) const
Same (like operator==)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointI, const pointEdgeStructuredWalk &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
void enterDomain(const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
bool updatePoint(const polyMesh &mesh, const label pointI, const label edgeI, const pointEdgeStructuredWalk &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
point previousPoint_
Previous point.
bool update(const pointEdgeStructuredWalk &w2, const scalar tol, TrackingData &td)
Evaluate distance to point.
pointEdgeStructuredWalk()
Construct null.
Database for solution data, solver performance and other reduced data.
bool sameGeometry(const pointEdgeStructuredWalk &, const scalar tol, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...