const polyMesh & mesh() const noexcept
Return the mesh database.
scalar stepFraction() const noexcept
Return the fraction of time-step completed.
scalar trackToEdge(TrackCloudType &cloud, trackingData &td, const vector &endPosition)
Equivalent of trackToFace.
point localPosition_
Particle position is updated locally as opposed to via track.
Class used to pass tracking data to the trackToEdge function.
label lifeTime_
Lifetime of particle. Particle dies when reaches 0.
DynamicList< point > sampledPositions_
Sampled positions.
List< DynamicList< vector > > sampledVectors_
Sampled vectors.
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Track all particles to their end point.
vector sample(trackingData &td)
List< DynamicList< scalar > > sampledScalars_
Sampled scalars.