|
| MoleculeSystem () |
|
void | addAtoms (const vector< Atom * > &atoms) |
|
const vector< Atom * > & | atoms () const |
|
const vector
< MoleculeSystemCell * > & | globalCells () const |
|
const vector< AtomType > & | particleTypes () const |
|
void | updateForces () |
|
void | simulate () |
|
void | setBoundaries (double min, double max) |
|
void | setBoundaries (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax) |
|
void | setBoundaries (mat boundaries) |
|
void | setupCells (double requestedCellLength=0.0) |
|
const mat & | cellShiftVectors () |
|
void | refreshCellContents () |
|
void | setIntegrator (Integrator *integrator) |
|
void | updateStatistics () |
|
bool | isOutputEnabled () const |
|
void | setOutputEnabled (bool enabled) |
|
bool | isSaveEnabled () const |
|
void | setSaveEnabled (bool enabled) |
|
void | obeyBoundaries () |
|
void | setFileManager (FileManager *fileManager) |
|
void | addModifier (Modifier *modifier) |
|
void | removeModifier (Modifier *modifier) |
|
void | applyModifiers () |
|
Integrator * | integrator () const |
|
double | kineticEnergyTotal () |
|
double | potentialEnergyTotal () |
|
double | temperature () const |
|
double | pressure () const |
|
double | averageDisplacement () const |
|
double | averageSquareDisplacement () const |
|
const mat & | boundaries () const |
|
double | time () const |
|
const irowvec & | nCells () const |
|
void | setTime (double currentTime) |
|
void | setBoltzmannConstant (double boltzmannConstant) |
|
bool | load (string fileName) |
|
void | clearAtoms () |
|
void | addAtomsToCorrectCells (vector< Atom * > &atoms) |
|
void | setStep (uint step) |
|
void | deleteAtoms () |
|
void | setAverageSquareDisplacement (double averageSquareDisplacement) |
|
void | setAverageDisplacement (double averageDisplacement) |
|
void | setupProcessors () |
|
MoleculeSystemCell * | cell (int i, int j, int k) |
|
Processor * | processor () |
|
void | setCalculatePressureEnabled (bool enable) |
|
bool | isCalculatePressureEnabled () |
|
void | setCalculatePotentialEnabled (bool enable) |
|
bool | isCalculatePotentialEnabled () |
|
void | setSaveEveryNSteps (int nSteps) |
|
int | saveEveryNSteps () |
|
bool | shouldTimeStepBeSaved () |
|
void | setNSimulationSteps (int nSteps) |
|
int | nSimulationSteps () |
|
void | setProgressReporter (ProgressReporter *progressReporter) |
|
void | addSingleParticleForce (SingleParticleForce *force) |
|
const vector
< SingleParticleForce * > & | singleParticleForces () const |
|
void | setParticleTypes (const vector< AtomType > &particleTypes) |
|
const unordered_map< int,
AtomType > & | particleTypesById () |
|
bool | isOutputEnabledForThisStep () const |
|
void | save () |
|
void | save (string fileName) |
|
void | setCreateSymlink (bool enabled) |
|
const vector
< MoleculeSystemCell * > & | localCells () const |
|
ThreeParticleForce * | threeParticleForce () const |
|
void | setThreeParticleForce (ThreeParticleForce *threeParticleForce) |
|
TwoParticleForce * | twoParticleForce () const |
|
void | setTwoParticleForce (TwoParticleForce *twoParticleForce) |
|
int | cellIndex (int xIndex, int yIndex, int zIndex) |
|
void | setPeriodicity (bool periodicInX, bool periodicInY, bool periodicInZ) |
|
int | nAtomsTotal () |
|
const vector
< MoleculeSystemCell * > & | localAndGhostCells () const |
|
The MoleculeSystem class is the core of the molecular dynamics simulation. It provides functions to add and remove atoms, start simulations, and sampling of statistical properties.