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