89 #ifndef ParticleCollector_H 90 #define ParticleCollector_H 107 template<
class CloudType>
135 const label parcelType_;
171 bool negateParcelsOppositeNormal_;
174 const word surfaceFormat_;
218 void initConcentricCircles();
221 void collectParcelPolygon
228 void collectParcelConcentricCircles
291 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.
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.
Cylindrical coordinate system.
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.