41#ifndef ParticleTracks_H
42#define ParticleTracks_H
56template<
class CloudType>
CloudFunctionObject(CloudType &owner)
Construct null from owner.
const CloudType & owner() const
Return const access to the owner cloud.
Base cloud calls templated on particle type.
particle::trackingData trackingData
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("particleTracks")
Runtime type information.
ParticleTracks(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
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.
virtual bool postFace(const parcelType &p, const typename parcelType::trackingData &td)
Post-face hook.
label maxSamples() const
Return const access to the max samples.
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,...
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...
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
DSMCCloud< dsmcParcel > CloudType
HashTable< label, labelPair, Foam::Hash< labelPair > > labelPairLookup
This is a Map of a labelPair to a label. Used for e.g. for face1, face2 to shared edge....
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.