Definition at line 30 of file mdljsimulation.h.
Public Member Functions | |
void | clear () |
MDLJ_Simulation (const ConfigurationDatabase &conf) | |
double | reducedKineticEnergy () const |
double | reducedPotentialEnergy () const |
double | reducedTotalEnergy () const |
virtual void | run (Cluster &cluster, string currentRun, string prevRun) |
Protected Member Functions | |
void | adjustPosCenMass (Cluster &cluster) const |
void | calculateAccelerations (Cluster &cluster) const |
void | calculatePositions (Cluster &cluster) const |
void | calculateVelocities (Cluster &cluster) const |
virtual double | findLastStep (string baseName) const |
Private Attributes | |
double | m_reducedEnergyTotal |
double | m_reducedKineticEnergy |
double | m_reducedPotentialEnergy |
|
General constructor.
Definition at line 33 of file mdljsimulation.cpp. References m_reducedEnergyTotal, m_reducedKineticEnergy, and m_reducedPotentialEnergy. |
|
Adjusts the positions of a cluster according to its centre of mass.
Definition at line 222 of file mdljsimulation.cpp. References Cluster::positionCentreMass(), and Cluster::size(). Here is the call graph for this function: |
|
Calculates the accelerations, and the total potential energy of the simulation.
Definition at line 185 of file mdljsimulation.cpp. References Cluster::potentialEnergyTotal(), Cluster::setPotentialEnergyTotal(), Cluster::size(), Coordinate::x, Coordinate::y, and Coordinate::z. Referenced by run(). Here is the call graph for this function: |
|
Moves the positions of a cluster during the simulation.
Definition at line 153 of file mdljsimulation.cpp. References BaseSimulation::m_changeInStep, and Cluster::size(). Referenced by run(). Here is the call graph for this function: |
|
Calculates the velocity of a cluster during a the simulation and calcultes the total kinetic energy.
Definition at line 169 of file mdljsimulation.cpp. References BaseSimulation::m_changeInStep, Cluster::setKineticEnergyTotal(), and Cluster::size(). Referenced by run(). Here is the call graph for this function: |
|
Clears the mdljSimulation. Reimplemented from MD_Simulation. Definition at line 147 of file mdljsimulation.cpp. References MD_Simulation::clear(), m_reducedEnergyTotal, m_reducedKineticEnergy, and m_reducedPotentialEnergy. Here is the call graph for this function: |
|
Finds the last step in the a series of simulations.
Implements BaseSimulation. Definition at line 233 of file mdljsimulation.cpp. Referenced by run(). |
|
An accessor to the reduced kinetic energy.
Definition at line 43 of file mdljsimulation.cpp. References m_reducedKineticEnergy. |
|
An accessor to the reduced potential energy.
Definition at line 38 of file mdljsimulation.cpp. References m_reducedPotentialEnergy. |
|
An accessor to the reduced total energy.
Definition at line 48 of file mdljsimulation.cpp. References m_reducedEnergyTotal. |
|
|
Definition at line 102 of file mdljsimulation.h. Referenced by clear(), MDLJ_Simulation(), reducedTotalEnergy(), and run(). |
|
Definition at line 100 of file mdljsimulation.h. Referenced by clear(), MDLJ_Simulation(), reducedKineticEnergy(), and run(). |
|
Definition at line 98 of file mdljsimulation.h. Referenced by clear(), MDLJ_Simulation(), reducedPotentialEnergy(), and run(). |