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;
Base cloud calls templated on particle type.
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...
A cloud is a collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by any number of values (e....
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 &)
const vector & tau() const
static autoPtr< molecule > New(Istream &is)
Construct from Istream and return.
scalar potentialEnergy() const
bool move(moleculeCloud &, trackingData &)
static void writeFields(const Cloud< molecule > &mC)
const vector & pi() const
static void readFields(Cloud< molecule > &mC)
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.
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)