onerun/onerun.h
00001 #ifndef ONERUN_H
00002 #define ONERUN_H
00003 
00004 class INIParser;
00005 class WaveFunction;
00006 class MonteCarlo;
00007 class Hamiltonian;
00008 class Config;
00009 class Blocker;
00010 
00011 #include <string>
00012 
00016 class OneRun
00017 {
00018 public:
00019     OneRun(Config *config);
00020 
00021     void loadConfiguration(INIParser *settings);
00022     void run();
00023     void writeBlockData();
00024     ~OneRun();
00025 private:
00026     double nSamples;
00027     double alpha;
00028     double beta;
00029     int myRank;
00030     int m_nProcesses;
00031     double *allEnergies;
00032     WaveFunction *wave;
00033     MonteCarlo *monteCarlo;
00034     Hamiltonian *hamiltonian;
00035     Config *config;
00036     Blocker *blocker;
00037     bool onlyBlocking;
00038     std::string scratchDir;
00039 };
00040 
00041 #endif // ONERUN_H
 All Classes Functions