103 #ifndef ParticleZoneInfo_H 104 #define ParticleZoneInfo_H 189 <<
" " <<
pi.origProc
190 <<
" " <<
pi.position
206 template<
class CloudType>
246 bool inZone(
const label celli)
const;
294 const typename parcelType::trackingData& td
300 const typename parcelType::trackingData& td
308 const point& position0,
313 virtual void write();
friend bool operator==(const particleInfo &a, const particleInfo &b)
virtual ~ParticleZoneInfo()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("particleZoneInfo")
Runtime type information.
ParticleZoneInfo(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
friend Ostream & operator<<(Ostream &os, const particleInfo &pi)
friend bool operator!=(const particleInfo &a, const particleInfo &b)
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.
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
const CloudType & owner() const
Return const access to the owner cloud.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A class for handling words, derived from Foam::string.
virtual void write()
Write.
scalar isOlderThan(const particleInfo &p) const
constexpr scalar pi(M_PI)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
ParcelType parcelType
Type of parcel the cloud was instantiated for.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
Database for solution data, solver performance and other reduced data.
Reports cloud information for particles passing through a specified cell zone.
void operator+=(const particleInfo &p)
friend Istream & operator>>(Istream &is, particleInfo &pi)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Base class for writing single files from the function objects.
Templated base class for dsmc cloud.
Templated cloud function object base class.
static constexpr const zero Zero
Global zero (0)