Go to the documentation of this file.
33 template<
class DataType>
40 template<
class DataType>
53 template<
class DataType>
54 template<
class TrackingData>
61 template<
class DataType>
62 template<
class TrackingData>
74 template<
class DataType>
75 template<
class TrackingData>
79 const label patchPointi,
86 template<
class DataType>
87 template<
class TrackingData>
91 const label patchPointi,
98 template<
class DataType>
99 template<
class TrackingData>
110 template<
class DataType>
111 template<
class TrackingData>
125 if (!edgeInfo.valid_)
129 this->operator=(edgeInfo);
137 template<
class DataType>
138 template<
class TrackingData>
151 if (!newPointInfo.valid_)
156 this->operator=(newPointInfo);
164 template<
class DataType>
165 template<
class TrackingData>
175 if (!newPointInfo.valid_)
180 this->operator=(newPointInfo);
188 template<
class DataType>
189 template<
class TrackingData>
202 if (!pointInfo.
valid(td))
206 <<
" data:" << pointInfo
209 this->data_ = pointInfo.data_ + td.edgeData_[edgeI];
218 template<
class DataType>
219 template<
class TrackingData>
238 return this->data_ ==
pi.data_;
245 template<
class DataType>
251 return this->data_ == rhs.data_;
255 template<
class DataType>
261 return !(*
this == rhs);
267 template<
class DataType>
280 return os << rhs.valid_ << rhs.data();
285 template<
class DataType>
289 PointIntegrateData<DataType>& rhs
292 return is >> rhs.valid_ >> rhs.data_;
Integrate along selected edges using PointEdgeWave.
virtual const pointField & points() const
Return raw points.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
void enterDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
PointIntegrateData()
Default construct.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
bool sameGeometry(const PointIntegrateData< DataType > &, const scalar tol, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
Mesh consisting of general polyhedral cells.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointI, const PointIntegrateData< DataType > &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to the data.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
constexpr scalar pi(M_PI)
bool equal(const PointIntegrateData< DataType > &, TrackingData &td) const
Test for equality, with TrackingData.
bool updatePoint(const polyMesh &mesh, const label pointI, const label edgeI, const PointIntegrateData< DataType > &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.
const std::string patch
OpenFOAM patch number as a std::string.
void leaveDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Database for solution data, solver performance and other reduced data.
dimensionedScalar pos(const dimensionedScalar &ds)