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