40 #ifndef Foam_PointData_H 41 #define Foam_PointData_H 53 template<
class DataType>
class PointData;
55 template<
class DataType>
56 Ostream& operator<<(Ostream&, const PointData<DataType>&);
57 template<
class DataType>
58 Istream&
operator>>(Istream&, PointData<DataType>&);
64 template<
class DataType>
111 friend Ostream& operator<< <DataType>
116 friend Istream&
operator>> <DataType>
128 template<
class TrackingData>
136 template<
class TrackingData>
149 template<
class TrackingData>
161 template<
class TrackingData>
170 template<
class TrackingData>
186 template<
class DataType>
190 template<
class DataType>
191 struct is_contiguous_scalar<PointData<DataType>>
193 is_contiguous_scalar<DataType>
Variant of pointEdgePoint with some transported additional data. Templated on the transported data ty...
bool updatePoint(const polyMesh &mesh, const label pointI, const label edgeI, const PointData< DataType > &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool operator!=(const PointData< DataType > &) const
Test for inequality.
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointI, const PointData< DataType > &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
const DataType & data() const noexcept
const point & origin() const noexcept
Istream & operator>>(Istream &, directionInfo &)
bool operator==(const PointData< DataType > &) const
Test for equality.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
vector point
Point is a vector.
A template class to specify that a data type can be considered as being contiguous in memory...
Mesh consisting of general polyhedral cells.
Tensor of scalars, i.e. Tensor<scalar>.
scalar distSqr() const noexcept
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to the data.
PointData()=default
Default construct.