Go to the documentation of this file.
55 template<
class TrackingData>
58 return distance_ != -1;
63 template<
class TrackingData>
77 template<
class TrackingData>
82 const label patchFaceI,
83 const point& faceCentre,
90 template<
class TrackingData>
101 template<
class TrackingData>
106 const label patchFaceI,
107 const point& faceCentre,
114 template<
class TrackingData>
118 const label thisCellI,
119 const label neighbourFaceI,
127 operator=(neighbourInfo);
138 template<
class TrackingData>
142 const label thisFaceI,
143 const label neighbourCellI,
153 data_ = neighbourInfo.
data_;
165 template<
class TrackingData>
169 const label thisFaceI,
178 operator=(neighbourInfo);
188 template<
class TrackingData>
201 inline bool Foam::topoDistanceData::operator==
210 inline bool Foam::topoDistanceData::operator!=
215 return !(*
this == rhs);
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
For use with FaceCellWave. Determines topological distance to starting faces.
topoDistanceData()
Construct null.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
void enterDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
Mesh consisting of general polyhedral cells.
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 equal(const topoDistanceData &, TrackingData &td) const
Same (like operator==)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
label data_
Starting data.
bool updateFace(const polyMesh &, const label thisFaceI, const label neighbourCellI, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
scalar distance(const vector &p1, const vector &p2)
bool sameGeometry(const polyMesh &, const topoDistanceData &, const scalar, 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.
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
Database for solution data, solver performance and other reduced data.