56 template<
class TrackingData>
59 return distance_ != -1;
65 template<
class TrackingData>
80 template<
class TrackingData>
85 const label patchFacei,
86 const point& faceCentre,
94 template<
class TrackingData>
106 template<
class TrackingData>
111 const label patchFacei,
112 const point& faceCentre,
120 template<
class TrackingData>
124 const label thisCelli,
125 const label neighbourFacei,
133 this->operator=(neighbourInfo);
143 template<
class TrackingData>
147 const label thisFacei,
148 const label neighbourCelli,
158 distance_ = neighbourInfo.distance_ + 1;
159 data_ = neighbourInfo.data_;
169 template<
class TrackingData>
173 const label thisFacei,
182 this->operator=(neighbourInfo);
191 template<
class TrackingData>
220 return !(*
this == rhs);
bool equal(const topoDistanceData< Type > &, TrackingData &td) const
Test for equality, with TrackingData.
scalar distance(const vector &p1, const vector &p2)
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool sameGeometry(const polyMesh &, const topoDistanceData< Type > &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
Database for solution data, solver performance and other reduced data.
topoDistanceData()
Construct null with invalid (-1) for distance, null constructor.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
const std::string patch
OpenFOAM patch number as a std::string.
For use with FaceCellWave. Determines topological distance to starting faces. Templated on passive tr...
Mesh consisting of general polyhedral cells.
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.
Tensor of scalars, i.e. Tensor<scalar>.
const Type & data() const
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face.