60 Ostream&
operator<<(Ostream&,
const molecule&);
114 void checkSiteListSizes()
const;
116 void setInteracionSiteBools
122 bool linearMoleculeTest()
const;
160 inline scalar
mass()
const;
162 inline label
nSites()
const;
187 inline label
part()
const 210 scalar potentialEnergy_;
226 tensor rotationTensorX(scalar deltaT)
const;
228 tensor rotationTensorY(scalar deltaT)
const;
230 tensor rotationTensorZ(scalar deltaT)
const;
245 const label tetFacei,
282 bool newFormat =
true 327 inline const tensor&
Q()
const;
330 inline const vector&
v()
const;
333 inline const vector&
a()
const;
361 inline label
id()
const;
scalar potentialEnergy() const
autoPtr< molecule > operator()(Istream &is) const
const List< bool > & electrostaticSites() const
const List< vector > & sitePositions() const
const tensor & rf() const
trackingData(moleculeCloud &cloud, label part)
const diagTensor & momentOfInertia() const
Class to hold molecule constant properties.
void setSitePositions(const constantProperties &constProps)
iNew(const polyMesh &mesh)
const barycentric & coordinates() const noexcept
Return current particle coordinates.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const List< vector > & siteForces() const
bool hitPatch(moleculeCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a patch.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const List< label > & siteIds() const
static const std::size_t sizeofFields
Size in bytes of the fields.
void hitProcessorPatch(moleculeCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a processorPatch.
const vector & pi() const
static void writeFields(const Cloud< molecule > &mC)
bool move(moleculeCloud &, trackingData &, const scalar trackTime)
static void readFields(Cloud< molecule > &mC)
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.
A cloud is a registry collection of lagrangian particles.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
Base cloud calls templated on particle type.
static autoPtr< particle > Clone(const Derived &p)
Clone a particle.
const List< bool > & pairPotentialSites() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void hitWallPatch(moleculeCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a wallPatch.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool pointMolecule() const
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual autoPtr< particle > clone() const
Return a clone.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
bool electrostaticSite(label sId) const
const polyMesh & mesh() const noexcept
Return the mesh database.
Class used to pass tracking data to the trackToFace function.
label degreesOfFreedom() const
void setSiteSizes(label size)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
bool linearMolecule() const
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
bool pairPotentialSite(label sId) const
Tensor of scalars, i.e. Tensor<scalar>.
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