35 #ifndef ParticleTracks_H 36 #define ParticleTracks_H 49 template<
class CloudType>
75 hitTableType faceHitCounter_;
148 virtual void postFace(
const parcelType&
p,
bool& keepParticle);
const Cloud< parcelType > & cloud() const
Return const access to the cloud.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label maxSamples() const
Return const access to the max samples.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const hitTableType & faceHitCounter() const
Rerurn the table of number of times a particle has hit a face.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
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.
const Switch & resetOnWrite() const
Return const access to the reset on write flag.
A class for handling words, derived from string.
virtual void preEvolve()
Pre-evolve hook.
An STL-conforming hash table.
void write()
Write post-processing info.
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
TypeName("particleTracks")
Runtime type information.
virtual ~ParticleTracks()
Destructor.
Templated base class for dsmc cloud.
Templated cloud function object base class.