1 #ifndef MCMD_MD_SIMULATION_H 2 #define MCMD_MD_SIMULATION_H 11 #include <mcMd/simulation/Simulation.h> 13 #include "MdAnalyzerManager.h" 14 #include "MdCommandManager.h" 79 void setOptions(
int argc,
char **argv);
120 void readParam(std::istream &in);
127 virtual void readParameters(std::istream &in);
138 void load(
const std::string& filename);
154 void save(
const std::string& filename);
179 void readCommands(std::istream& in);
196 bool readCommand(std::string command, std::istream& in);
225 void simulate(
int endStep,
bool isContinuation =
false);
253 void analyzeConfigs(
int min,
int max, std::string basename);
266 void analyzeTrajectory(
int min,
int max,
267 std::string classname, std::string filename);
286 virtual bool isValid()
const;
302 std::string saveFileName_;
Manager for Analyzer objects in an MdSimulation.
The main object in a simulation, which coordinates others.
Saving / output archive for binary ostream.
Utility classes for scientific computation.
Command interpreter and Command Manager for an MdSimulation.
const MdSystem & system() const
Get the MdSystem being simulated by const reference.
virtual void load(Serializable::IArchive &ar)
Load all parameters from an input archive.
Saving archive for binary istream.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
A System for Molecular Dynamics simulation.
A molecular dynamics simulation of a single MdSystem.