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,
constexpr scalar pi(M_PI)
CloudFunctionObject(CloudType &owner)
Construct null from owner.
const CloudType & owner() const
Return const access to the owner cloud.
particle::trackingData trackingData
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,...
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("particleZoneInfo")
Runtime type information.
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
virtual void write()
Write.
virtual ~ParticleZoneInfo()=default
Destructor.
ParticleZoneInfo(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
virtual bool postMove(parcelType &p, const scalar dt, const point &position0, const typename parcelType::trackingData &td)
Post-move 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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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)
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
DSMCCloud< dsmcParcel > CloudType
List< label > labelList
A List of labels.
vector point
Point is a vector.
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.