89 #ifndef ParticleCollector_H 90 #define ParticleCollector_H 107 template<
class CloudType>
135 const label parcelType_;
166 bool negateParcelsOppositeNormal_;
169 const word surfaceFormat_;
213 void initConcentricCircles();
216 void collectParcelPolygon
223 void collectParcelConcentricCircles
286 const point& position0,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
ParticleCollector(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
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/any.
Cylindrical coordinate system.
void write()
Write post-processing info.
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.
TypeName("particleCollector")
Runtime type information.
const Switch & resetOnWrite() const
Return const access to the reset on write flag.
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual ~ParticleCollector()
Destructor.
Function object to collect the parcel mass- and mass flow rate over a set of polygons. The polygons can either be specified by sets of user- supplied points, or in a concentric circles arrangement. If a parcel is 'collected', it can be flagged to be removed from the domain using the removeCollected entry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Templated base class for dsmc cloud.
Templated cloud function object base class.