label trackInterval_
Number of face-hit intervals between storing parcel data.
void write()
Write post-processing info.
CloudType::parcelType parcelType
Convenience typedef for parcel type.
Records particle state (all variables) on each call to postFace.
const label nSamples(readLabel(pdfDictionary.lookup("nSamples")))
ParticleTracks(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
autoPtr< Cloud< parcelType > > cloudPtr_
Pointer to the cloud storage.
virtual ~ParticleTracks()
Destructor.
hitTableType faceHitCounter_
Table of number of times a particle has hit a face.
Switch resetOnWrite_
Flag to indicate whether data should be reset/cleared on writing.
label maxSamples_
Maximum number of particles to store per track.
virtual void postFace(const parcelType &p, const label faceI, bool &keepParticle)
Post-face hook.