Go to the documentation of this file.
151 inline scalar
mass()
const;
236 const label tetFaceI,
287 bool move(trackingData&,
const scalar trackTime);
300 inline const tensor&
Q()
const;
303 inline const vector&
v()
const;
306 inline const vector&
a()
const;
346 const scalar trackFraction,
static const std::size_t sizeofFields_
Size in bytes of the fields.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
tensor rotationTensorY(scalar deltaT) const
static void writeFields(const Cloud< molecule > &mC)
tensor rotationTensorZ(scalar deltaT) const
List< vector > siteForces_
friend Ostream & operator<<(Ostream &, const molecule &)
List< scalar > siteCharges_
const List< label > & siteIds() const
bool pairPotentialSite(label sId) const
List< scalar > siteMasses_
void checkSiteListSizes() const
List< bool > pairPotentialSites_
This function object reads fields from the time directories and adds them to the mesh database for fu...
iNew(const polyMesh &mesh)
Mesh consisting of general polyhedral cells.
const vector & tau() const
const List< vector > & sitePositions() const
void setSitePositions(const constantProperties &constProps)
autoPtr< particle > clone() const
Construct and return a clone.
This function object calculates and outputs the second invariant of the velocity gradient tensor [1/s...
const List< scalar > & siteCharges() const
bool pointMolecule() const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
const diagTensor & momentOfInertia() const
const Field< vector > & siteReferencePositions() const
Field< vector > siteReferencePositions_
const List< bool > & pairPotentialSites() const
bool linearMolecule() const
const tensor & rf() const
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Class used to pass tracking data to the trackToFace function.
const List< bool > & electrostaticSites() const
Neighbour processor patch.
const polyMesh & mesh() const
Return the mesh database.
const List< vector > & siteForces() const
void setSiteSizes(label size)
label degreesOfFreedom() const
molecule(const polyMesh &mesh, const vector &position, 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.
A list of keyword definitions, which are a keyword followed by any number of values (e....
List< vector > sitePositions_
const List< scalar > & siteMasses() const
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
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.
trackingData(moleculeCloud &cloud, label part)
static void readFields(Cloud< molecule > &mC)
autoPtr< molecule > operator()(Istream &is) const
scalar potentialEnergy() const
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
tensor rotationTensorX(scalar deltaT) const
void setInteracionSiteBools(const List< word > &siteIds, const List< word > &pairPotSiteIds)
const vector & specialPosition() const
Base cloud calls templated on particle type.
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 to hold molecule constant properties.
bool linearMoleculeTest() const
const vector & position() const
Return current particle position.
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a processorPatch.
bool move(trackingData &, const scalar trackTime)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
diagTensor momentOfInertia_
List< bool > electrostaticSites_
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
const vector & pi() const
bool electrostaticSite(label sId) const
Factory class to read-construct particles used for.