59 Ostream&
operator<<(Ostream&,
const molecule&);
73 static const std::size_t sizeofFields_;
114 void checkSiteListSizes()
const;
116 void setInteractionSiteBools
122 bool linearMoleculeTest()
const;
160 inline scalar
mass()
const;
233 scalar potentialEnergy_;
249 tensor rotationTensorX(scalar deltaT)
const;
251 tensor rotationTensorY(scalar deltaT)
const;
253 tensor rotationTensorZ(scalar deltaT)
const;
269 label& nLocateBoundaryHits,
308 const constantProperties& constProps
316 inline const tensor&
Q()
const;
319 inline const vector&
v()
const;
322 inline const vector&
a()
const;
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,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Class to hold molecule constant properties.
const diagTensor & momentOfInertia() const
bool pointMolecule() const
const Field< vector > & siteReferencePositions() const
const List< label > & siteIds() const
const List< bool > & pairPotentialSites() const
const List< scalar > & siteCharges() const
bool pairPotentialSite(label sId) const
bool electrostaticSite(label sId) const
label degreesOfFreedom() const
const List< scalar > & siteMasses() const
const List< bool > & electrostaticSites() const
bool linearMolecule() const
Class used to pass tracking data to the trackToFace function.
trackingData(const moleculeCloud &cloud)
Construct from components.
trackPart part() const
Return the part of the tracking operation taking place.
molecule(const polyMesh &mesh, const vector &position, const label celli, label &nLocateBoundaryHits, const tensor &Q, const vector &v, const vector &a, const vector &pi, const vector &tau, const vector &specialPosition, const constantProperties &constProps, const label special, const label id)
Construct from a position and a cell, searching for the rest of the.
void setSiteSizes(label size)
const List< vector > & sitePositions() const
const List< vector > & siteForces() const
const vector & specialPosition() const
void setSitePositions(const polyMesh &mesh, const constantProperties &constProps)
const tensor & rf() const
friend Ostream & operator<<(Ostream &, const molecule &)
static void readFields(lagrangian::Cloud< molecule > &mC)
const vector & tau() const
static void writeFields(const lagrangian::Cloud< molecule > &mC)
static autoPtr< molecule > New(Istream &is)
Construct from Istream and return.
scalar potentialEnergy() const
bool move(moleculeCloud &, trackingData &)
const vector & pi() const
virtual void transformProperties(const transformer &)
Transform the physical properties of the particle.
autoPtr< particle > clone() const
Construct and return a clone.
void hitWallPatch(moleculeCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a wallPatch.
vector position(const polyMesh &mesh) const
Return current particle position.
Mesh consisting of general polyhedral cells.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)