Go to the documentation of this file.
32 template<
class TrackingData>
52 scalar
diff = distSqr_ - dist2;
60 if ((
diff < SMALL) || ((distSqr_ > SMALL) && (
diff/distSqr_ < tol)))
77 template<
class TrackingData>
102 if ((
diff < SMALL) || ((distSqr_ > SMALL) && (
diff/distSqr_ < tol)))
143 origin_(wpt.origin()),
144 distSqr_(wpt.distSqr())
162 template<
class TrackingData>
170 template<
class TrackingData>
186 if ((distSqr() > SMALL) && ((
diff/distSqr()) < tol))
198 template<
class TrackingData>
202 const label patchPointI,
211 template<
class TrackingData>
224 template<
class TrackingData>
228 const label patchPointI,
239 template<
class TrackingData>
250 return update(
mesh.
points()[pointI], edgeInfo, tol, td);
255 template<
class TrackingData>
265 return update(
mesh.
points()[pointI], newPointInfo, tol, td);
270 template<
class TrackingData>
278 return update(newPointInfo, tol, td);
283 template<
class TrackingData>
295 return update(
e.centre(
mesh.
points()), pointInfo, tol, td);
299 template<
class TrackingData>
315 return (origin() == rhs.
origin()) && (distSqr() == rhs.
distSqr());
322 return !(*
this == rhs);
pointEdgePoint()
Construct null.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
virtual const pointField & points() const
Return raw points.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
bool equal(const pointEdgePoint &, TrackingData &td) const
Same (like operator==)
bool operator!=(const pointEdgePoint &) const
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointI, const pointEdgePoint &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
dimensioned< scalar > mag(const dimensioned< Type > &)
bool operator==(const pointEdgePoint &) 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.
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.
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to origin.
bool update(const point &, const pointEdgePoint &w2, const scalar tol, TrackingData &td)
Evaluate distance to point. Update distSqr, origin from whomever.
void leaveDomain(const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
Convert origin to relative vector to leaving point.
const double e
Elementary charge.
const point & origin() const
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave)...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
void enterDomain(const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
bool sameGeometry(const pointEdgePoint &, const scalar tol, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
bool updatePoint(const polyMesh &mesh, const label pointI, const label edgeI, const pointEdgePoint &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.