Definition at line 37 of file basesimulation.h.
Public Member Functions | |
BaseSimulation (const ConfigurationDatabase &conf) | |
double | changeInStep () const |
void | clear () |
int | printInterval () const |
virtual void | run (Cluster &cluster, string currentRun, string previousRun)=0 |
int | runSteps () const |
void | setChangeInStep (double change) |
void | setPrintInterval (int interval) |
void | setRunSteps (int steps) |
Protected Member Functions | |
virtual double | findLastStep (string previousRun) const =0 |
Protected Attributes | |
double | m_changeInStep |
KineticEnergyHistogram | m_kineticEnergyHistogram |
PotentialEnergyHistogram | m_potentialEnergyHistogram |
int | m_printInterval |
RadialDensityHistogram | m_radialDensityHistogram |
RadialDistributionFunction | m_radialDistributionFunction |
int | m_runSteps |
double | m_stepStart |
|
A default constructor.
Definition at line 21 of file basesimulation.cpp. References m_changeInStep, m_printInterval, m_runSteps, and m_stepStart. |
|
An accessor for how far each step is incremented.
Definition at line 36 of file basesimulation.cpp. References m_changeInStep. |
|
Clears the contents of the baseSimulation. Reimplemented in MDLJ_Simulation, and MD_Simulation. Definition at line 56 of file basesimulation.cpp. References BaseHistogram::clear(), m_changeInStep, m_kineticEnergyHistogram, m_potentialEnergyHistogram, m_printInterval, m_radialDensityHistogram, m_radialDistributionFunction, m_runSteps, and m_stepStart. Referenced by MD_Simulation::clear(). Here is the call graph for this function: |
|
Finds the last step in the a series of simulations.
Implemented in MCLJ_Simulation, and MDLJ_Simulation. |
|
An accessor for how often to print information regarding the simulation.
Definition at line 31 of file basesimulation.cpp. References m_printInterval. |
|
An abstract method to run a simulation. During the run, a run file and a miscellaneous
Implemented in MCLJ_Simulation, and MDLJ_Simulation. Referenced by nonInteractiveRun(), and selectSimulation(). |
|
An accessor for the number of steps to run a simulation.
Definition at line 26 of file basesimulation.cpp. References m_runSteps. |
|
A modifier for how far each step is incremented.
Definition at line 51 of file basesimulation.cpp. References m_changeInStep. Referenced by nonInteractiveRun(), and selectSimulation(). |
|
A modifier for how often to print information regarding the simulation.
Definition at line 46 of file basesimulation.cpp. References m_printInterval. Referenced by nonInteractiveRun(), and selectSimulation(). |
|
A modifier for the number of steps run a simulation.
Definition at line 41 of file basesimulation.cpp. References m_runSteps. Referenced by nonInteractiveRun(), and selectSimulation(). |
|
Definition at line 107 of file basesimulation.h. Referenced by BaseSimulation(), MDLJ_Simulation::calculatePositions(), MDLJ_Simulation::calculateVelocities(), changeInStep(), clear(), MCLJ_Simulation::generateDistanceToMove(), MDLJ_Simulation::run(), setChangeInStep(), MD_Simulation::writeAverages(), and MC_Simulation::writeAverages(). |
|
Definition at line 111 of file basesimulation.h. Referenced by clear(), MDLJ_Simulation::run(), and MCLJ_Simulation::run(). |
|
Definition at line 115 of file basesimulation.h. Referenced by clear(), MDLJ_Simulation::run(), and MCLJ_Simulation::run(). |
|
Definition at line 98 of file basesimulation.h. Referenced by BaseSimulation(), clear(), printInterval(), MDLJ_Simulation::run(), MCLJ_Simulation::run(), and setPrintInterval(). |
|
Definition at line 123 of file basesimulation.h. Referenced by clear(), MDLJ_Simulation::run(), and MCLJ_Simulation::run(). |
|
Definition at line 119 of file basesimulation.h. Referenced by clear(), MDLJ_Simulation::run(), and MCLJ_Simulation::run(). |
|
Definition at line 94 of file basesimulation.h. Referenced by BaseSimulation(), clear(), MDLJ_Simulation::run(), MCLJ_Simulation::run(), runSteps(), setRunSteps(), MD_Simulation::writeAverages(), and MC_Simulation::writeAverages(). |
|
Definition at line 103 of file basesimulation.h. Referenced by BaseSimulation(), clear(), MDLJ_Simulation::run(), and MCLJ_Simulation::run(). |