40 #ifndef pointTopoDistanceData_H 41 #define pointTopoDistanceData_H 58 Ostream& operator<<(Ostream&, const pointTopoDistanceData<Type>&);
105 inline const Type&
data()
const 114 template<
class TrackingData>
115 inline bool valid(TrackingData& td)
const;
118 template<
class TrackingData>
128 template<
class TrackingData>
132 const label patchPointi,
138 template<
class TrackingData>
142 const label patchPointi,
148 template<
class TrackingData>
156 template<
class TrackingData>
169 template<
class TrackingData>
181 template<
class TrackingData>
190 template<
class TrackingData>
202 template<
class TrackingData>
216 friend Ostream& operator<< <Type>
221 friend Istream&
operator>> <Type>
237 struct is_contiguous_label<pointTopoDistanceData<Type>> :
238 is_contiguous_label<Type> {};
242 struct is_contiguous_scalar<pointTopoDistanceData<Type>> :
243 is_contiguous_scalar<Type>{};
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to origin.
void leaveDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert origin to relative vector to leaving point.
bool updatePoint(const polyMesh &mesh, const label pointi, const label edgeI, const pointTopoDistanceData< Type > &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool operator==(const pointTopoDistanceData< Type > &) const
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointi, const pointTopoDistanceData< Type > &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
For use with PointEdgeWave. Determines topological distance to starting points. Templated on passive ...
bool operator!=(const pointTopoDistanceData< Type > &) const
dimensionedScalar pos(const dimensionedScalar &ds)
Istream & operator>>(Istream &, directionInfo &)
void enterDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
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 equal(const pointTopoDistanceData< Type > &, TrackingData &) const
Test for equality, with TrackingData.
A template class to specify that a data type can be considered as being contiguous in memory...
const std::string patch
OpenFOAM patch number as a std::string.
bool sameGeometry(const pointTopoDistanceData< Type > &, const scalar tol, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
pointTopoDistanceData()
Construct null with invalid (-1) for distance, null constructor.
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