10#ifndef BALL_MOLMEC_MDSIMULATION_MOLECULARDYNAMICS_H
11#define BALL_MOLMEC_MDSIMULATION_MOLECULARDYNAMICS_H
17#ifndef BALL_DATATYPE_OPTIONS_H
21#ifndef BALL_MOLMEC_COMMON_ATOMVECTOR_H
void set(const MolecularDynamics &rhs)
void setSnapShotFrequency(Size number)
bool abort_by_energy_enabled_
void setNumberOfIteration(Size number)
double getTotalEnergy() const
SnapShotManager * snapshot_manager_ptr_
double getTimeStep() const
float getEnergyToAbort() const
bool simulateTime(double simulation_time, bool restart=false)
double getKineticEnergy() const
void setMaximalNumberOfIterations(Size number)
ForceField * force_field_ptr_
void setReferenceTemperature(double temperature)
Size number_of_iteration_
bool energyAbortConditionEnabled() const
Query if the MDSimulation aborts if the Energy is greater than abort_energy_.
double reference_temperature_
Size getSnapShotFrequency() const
Size energy_output_frequency_
Size getNumberOfIterations() const
virtual bool specificSetup()
void updateInstantaneousTemperature()
virtual bool setup(ForceField &force_field, SnapShotManager *snapshot_man)
void setCurrentTime(double time)
virtual bool simulateIterations(Size number, bool restart=false)
double getMaximalSimulationTime() const
Size getEnergyOutputFrequency() const
void setEnergyOutputFrequency(Size number)
void enableEnergyAbortCondition(bool state)
Size maximal_number_of_iterations_
double getPotentialEnergy() const
virtual void setTimeStep(double step)
void setMaximalSimulationTime(double time)
ForceField * getForceField() const
Size getMaximalNumberOfIterations() const
void setEnergyToAbort(float value)
double current_temperature_
bool simulate(bool restart=false)
double getTemperature() const
#define BALL_CREATE(name)
static const Size NUMBER_OF_ITERATION
static const Size MAXIMAL_NUMBER_OF_ITERATIONS
static const double REFERENCE_TEMPERATURE
static const double CURRENT_TIME
static const double TIME_STEP
static const Size ENERGY_OUTPUT_FREQUENCY
static const Size SNAPSHOT_FREQUENCY
static const double BATH_RELAXATION_TIME
static const double MAXIMAL_SIMULATION_TIME
static const char * REFERENCE_TEMPERATURE
static const char * MAXIMAL_NUMBER_OF_ITERATIONS
static const char * BATH_RELAXATION_TIME
static const char * TIME_STEP
static const char * MAXIMAL_SIMULATION_TIME
static const char * NUMBER_OF_ITERATION
static const char * ENERGY_OUTPUT_FREQUENCY
static const char * SNAPSHOT_FREQUENCY
static const char * CURRENT_TIME