58 Ostream&
operator<<(Ostream&,
const molecule&);
72 static const std::size_t sizeofFields_;
113 void checkSiteListSizes()
const;
115 void setInteracionSiteBools
121 bool linearMoleculeTest()
const;
159 inline scalar
mass()
const;
186 inline label part()
const 209 scalar potentialEnergy_;
225 tensor rotationTensorX(scalar deltaT)
const;
227 tensor rotationTensorY(scalar deltaT)
const;
229 tensor rotationTensorZ(scalar deltaT)
const;
244 const label tetFacei,
326 inline const tensor&
Q()
const;
329 inline const vector&
v()
const;
332 inline const vector&
a()
const;
372 const scalar trackFraction,
scalar potentialEnergy() const
const List< bool > & electrostaticSites() const
const polyMesh & mesh() const
Return the mesh database.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const List< vector > & sitePositions() const
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a processorPatch.
const tensor & rf() const
const diagTensor & momentOfInertia() const
Class to hold molecule constant properties.
void setSitePositions(const constantProperties &constProps)
A list of keyword definitions, which are a keyword followed by any number of values (e...
const List< vector > & siteForces() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const List< label > & siteIds() const
const vector & pi() const
static void writeFields(const Cloud< molecule > &mC)
static void readFields(Cloud< molecule > &mC)
Neighbour processor patch.
const Field< vector > & siteReferencePositions() const
friend Ostream & operator<<(Ostream &, const molecule &)
molecule(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, 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 components.
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
A cloud is a collection of lagrangian particles.
bool move(trackingData &, const scalar trackTime)
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
Base cloud calls templated on particle type.
autoPtr< particle > clone() const
Construct and return a clone.
const List< bool > & pairPotentialSites() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool pointMolecule() const
Factory class to read-construct particles used for.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
bool electrostaticSite(label sId) const
bool hitPatch(const polyPatch &, trackingData &td, const label patchi, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
Class used to pass tracking data to the trackToFace function.
label degreesOfFreedom() const
void setSiteSizes(label size)
Ostream & operator<<(Ostream &, const ensightPart &)
const barycentric & coordinates() const
Return current particle coordinates.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
bool linearMolecule() const
A patch is a list of labels that address the faces in the global face list.
bool pairPotentialSite(label sId) const
const List< scalar > & siteMasses() const
const vector & tau() const
vector position() const
Return current particle position.
const List< scalar > & siteCharges() const
const vector & specialPosition() const