36 template<
class CloudType>
57 template<
class CloudType>
66 trackInterval_(this->coeffDict().getLabel(
"trackInterval")),
67 maxSamples_(this->coeffDict().getLabel(
"maxSamples")),
68 resetOnWrite_(this->coeffDict().getBool(
"resetOnWrite")),
74 template<
class CloudType>
81 trackInterval_(ppm.trackInterval_),
82 maxSamples_(ppm.maxSamples_),
83 resetOnWrite_(ppm.resetOnWrite_),
84 faceHitCounter_(ppm.faceHitCounter_),
85 cloudPtr_(ppm.cloudPtr_)
91 template<
class CloudType>
94 const typename parcelType::trackingData&
td 101 this->owner().cloneBare(this->owner().
name() +
"Tracks").ptr()
107 template<
class CloudType>
111 const typename parcelType::trackingData&
td 116 this->owner().solution().
output()
117 || this->owner().solution().
transient()
127 ++(faceHitCounter_(
labelPair(
p.origProc(),
p.origId()), 0));
135 static_cast<parcelType*>(
p.clone(this->owner().mesh()).ptr())
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Records particle state (all variables) on each call to postFace.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
#define DebugInFunction
Report an information message using Foam::Info.
const label nSamples(pdfDictionary.get< label >("nSamples"))
errorManip< error > abort(error &err)
void write()
Write post-processing info.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
Pair< label > labelPair
A pair of labels.
ParticleTracks(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual bool postFace(const parcelType &p, const typename parcelType::trackingData &td)
Post-face hook.
static Ostream & output(Ostream &os, const IntRange< T > &range)
Templated base class for dsmc cloud.
Templated cloud function object base class.