Go to the documentation of this file.
53 template<
class TrackingData>
56 return distance_ != -1;
61 template<
class TrackingData>
75 template<
class TrackingData>
80 const label patchFacei,
81 const point& faceCentre,
88 template<
class TrackingData>
99 template<
class TrackingData>
104 const label patchFacei,
105 const point& faceCentre,
112 template<
class TrackingData>
116 const label thisCelli,
117 const label neighbourFacei,
125 operator=(neighbourInfo);
134 template<
class TrackingData>
138 const label thisFacei,
139 const label neighbourCelli,
149 data_ = neighbourInfo.data_;
150 distance_ = neighbourInfo.distance_ + 1;
159 template<
class TrackingData>
163 const label thisFacei,
172 operator=(neighbourInfo);
180 template<
class TrackingData>
193 inline bool Foam::topoDistanceData::operator==
202 inline bool Foam::topoDistanceData::operator!=
207 return !(*
this == rhs);
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
For use with FaceCellWave. Determines topological distance to starting faces.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const topoDistanceData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
topoDistanceData()
Construct null with invalid (-1) for data and distance.
Mesh consisting of general polyhedral cells.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
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< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
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==)
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.
const std::string patch
OpenFOAM patch number as a std::string.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.
Database for solution data, solver performance and other reduced data.