41 #ifndef ParticleTracks_H 42 #define ParticleTracks_H 56 template<
class CloudType>
149 const typename parcelType::trackingData& td
153 virtual void postFace(
const parcelType&
p,
bool& keepParticle);
const Cloud< parcelType > & cloud() const
Return const access to the cloud.
label maxSamples() const
Return const access to the max samples.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool resetOnWrite() const
Should data be reset on write?
Records particle state (all variables) on each call to postFace.
virtual void postFace(const parcelType &p, bool &keepParticle)
Post-face hook.
const word & modelName() const
Return const access to the name of the sub-model.
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
A class for handling words, derived from Foam::string.
virtual ~ParticleTracks()=default
Destructor.
A HashTable to objects of type <T> with a labelPair key. The hashing is based on labelPair (FixedList...
void write()
Write post-processing info.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
ParticleTracks(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
label trackInterval() const
Return const access to the track interval.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const labelPairLookup & faceHitCounter() const
Return the table of number of times a particle has hit a face.
TypeName("particleTracks")
Runtime type information.
Templated base class for dsmc cloud.
Templated cloud function object base class.