This handles the administration of the MD
This handles the administration of the MD. It gets its info from the param structure and is responsible for controling the equilibration period, and evolving the particles. It also "prepares" the sample: set initial random velocities, etc... It knows about all global thing pertaining to the simulation. If HAS_GIST is defined, it can display the simu in an X window. Features should be added to this class by derivation. See for example the constant temperature version in mdt.h and mdt.cc Note: GetSweepVariable returns the value of the sweep variable, i.e the variable that change in the course of the simulation, like the temperature or the density. Which variable is returned is set by an #ifdef (SWEEP_T or SWEEP_D for now. See header.H.) The string sweep_name is the name to give to that variable (e.g. "T" or "D".) The name should be kept short. Sweep_name is used in the header line of measurement output files and in the filename of the config file (e.g. MYRUN.configT=0.5_1). Sweep_name defaults to "". In that case the prog. assumes that no sweep is beeing done and the config file name is then simply MYRUN.config_1. Sweep_name is set using the member function SetSweepName("name").
String sweep_name
MDSimulationParam& param
int elapsed_time
void UpdateForces()
void IntegrateEQ()
void LoadConfiguration(String config_file)
void SingleStep()
real ZeroesTotalVel()
void SaveConfiguration()
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de