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))
205 <<
mesh.points()[pointI]
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>
271 const PointIntegrateData<DataType>& rhs
274 if (
os.format() == IOstreamOption::ASCII)
276 return os << rhs.valid_ << token::SPACE << rhs.data();
280 return os << rhs.valid_ << rhs.data();
285 template<
class DataType>
289 PointIntegrateData<DataType>& rhs
292 return is >> rhs.valid_ >> rhs.data_;
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void enterDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to the data.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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.
bool sameGeometry(const PointIntegrateData< DataType > &, const scalar tol, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
dimensionedScalar pos(const dimensionedScalar &ds)
Integrate along selected edges using PointEdgeWave.
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.
constexpr scalar pi(M_PI)
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...
OBJstream os(runTime.globalPath()/outputName)
Database for solution data, solver performance and other reduced data.
PointIntegrateData()
Default construct.
void leaveDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert origin to relative vector to leaving point (= point coordinate)
const std::string patch
OpenFOAM patch number as a std::string.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
Tensor of scalars, i.e. Tensor<scalar>.
bool equal(const PointIntegrateData< DataType > &, TrackingData &td) const
Test for equality, with TrackingData.