1 #ifndef MCMD_MC_SIMULATION_H 2 #define MCMD_MC_SIMULATION_H 11 #include <mcMd/simulation/Simulation.h> 12 #include <mcMd/mcSimulation/McSystem.h> 13 #include <mcMd/mcSimulation/McAnalyzerManager.h> 14 #include <mcMd/mcSimulation/McCommandManager.h> 15 #include <mcMd/mcMoves/McMoveManager.h> 18 namespace Util {
template <
typename T>
class Factory; }
85 void setOptions(
int argc,
char **argv);
127 virtual void readParam(std::istream &in);
134 virtual void readParameters(std::istream &in);
152 void load(
const std::string& filename);
166 void save(
const std::string& filename);
174 template <
class Archive>
175 void serialize(Archive& ar,
unsigned int version);
186 void readCommands(std::istream& in);
211 bool readCommand(std::string command, std::istream& in);
234 void simulate(
int endStep,
bool isContinuation =
false);
261 void analyzeConfigs(
int min,
int max, std::string basename);
275 void analyzeTrajectory(
int min,
int max,
276 std::string classname, std::string filename);
300 virtual bool isValid()
const;
326 std::istream* paramFilePtr_;
329 std::string saveFileName_;
353 inline const McSystem& McSimulation::system()
const 361 {
return mcMoveManager_; }
A System for use in a Markov chain Monte Carlo simulation.
File containing preprocessor macros for error handling.
Manager for Analyzer objects in an McSimulation.
The main object in a simulation, which coordinates others.
Saving / output archive for binary ostream.
A Monte-Carlo simulation of one McSystem.
Utility classes for scientific computation.
Command interpreter and Manager for an McSimulation.
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).
Manager for a set of McMove objects.