Go to the documentation of this file.
36 #ifndef moleculeCloud_H
37 #define moleculeCloud_H
59 public Cloud<molecule>
115 const point& position,
122 const vector& bulkVelocity
177 const scalar targetTemperature,
178 const scalar measuredTemperature
void buildCellOccupancy()
Determine which molecules are in which cells.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
void setSiteSizesAndPositions()
const List< DynamicList< molecule * > > & cellOccupancy() const
Simple random number generator.
const InteractionLists< molecule > & il() const
A class for handling file names.
void operator=(const moleculeCloud &)
Disallow default bitwise assignment.
vector equipartitionLinearVelocity(scalar temperature, scalar mass)
This function object reads fields from the time directories and adds them to the mesh database for fu...
Mesh consisting of general polyhedral cells.
const List< molecule::constantProperties > constProps() 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.
void calculateTetherForce()
List< molecule::constantProperties > constPropList_
Builds direct interaction list, specifying which local (real) cells are potentially in range of each ...
void evolve()
Evolve the molecules (move, calculate forces, control state etc)
const polyMesh & mesh() const
InteractionLists< molecule > il_
bool evaluatePotentialLimit(molecule &molI, molecule &molJ) const
void calculatePairForce()
void writeXYZ(const fileName &fName) const
Write molecule sites in XYZ format.
void initialiseMolecules(const IOdictionary &mdInitialiseDict)
const potential & pot() const
List< DynamicList< molecule * > > cellOccupancy_
void calculateExternalForce()
void applyConstraintsAndThermostats(const scalar targetTemperature, const scalar measuredTemperature)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void createMolecule(const point &position, label cell, label tetFace, label tetPt, label id, bool tethered, scalar temperature, const vector &bulkVelocity)
Base cloud calls templated on particle type.
Class to hold molecule constant properties.
void removeHighEnergyOverlaps()
A cell is defined as a list of faces with extra functionality.
vector equipartitionAngularMomentum(scalar temperature, const molecule::constantProperties &cP)
moleculeCloud(const moleculeCloud &)
Disallow default bitwise copy construct.
void evaluatePair(molecule &molI, molecule &molJ)