40 #ifndef topoDistanceData_H 41 #define topoDistanceData_H 59 Ostream& operator<<(Ostream&, const topoDistanceData<Type>&);
102 inline const Type&
data()
const 111 template<
class TrackingData>
112 inline bool valid(TrackingData&
td)
const;
115 template<
class TrackingData>
126 template<
class TrackingData>
131 const label patchFacei,
132 const point& faceCentre,
137 template<
class TrackingData>
142 const label patchFacei,
143 const point& faceCentre,
148 template<
class TrackingData>
157 template<
class TrackingData>
161 const label thisCelli,
162 const label neighbourFacei,
169 template<
class TrackingData>
173 const label thisFacei,
174 const label neighbourCelli,
181 template<
class TrackingData>
185 const label thisFacei,
192 template<
class TrackingData>
210 friend Ostream& operator<< <Type>
215 friend Istream&
operator>> <Type>
231 struct is_contiguous_label<topoDistanceData<Type>> :
232 is_contiguous_label<Type> {};
236 struct is_contiguous_scalar<topoDistanceData<Type>> :
237 is_contiguous_scalar<Type>{};
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
bool operator==(const topoDistanceData< Type > &) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool equal(const topoDistanceData< Type > &, TrackingData &td) const
Test for equality, with TrackingData.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
Istream & operator>>(Istream &, directionInfo &)
bool operator!=(const topoDistanceData< Type > &) const
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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.
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.
A template class to specify that a data type can be considered as being contiguous in memory...
For use with FaceCellWave. Determines topological distance to starting faces. Templated on passive tr...
Mesh consisting of general polyhedral cells.
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.