24 using std::chrono::steady_clock;
25 using std::chrono::duration;
36 std::vector<unsigned int> m_N;
37 unsigned int m_latticeSize;
41 unsigned int m_NTherm;
42 unsigned int m_NUpdates;
43 unsigned int m_NFlows;
45 bool m_storeThermalizationObservables =
false;
46 bool m_systemIsThermalized =
false;
47 bool m_writeConfigsToFile =
false;
50 unsigned int m_subLatticeSize;
56 unsigned int m_NThermSteps = 0;
59 unsigned long long int m_acceptanceCounter = 0;
60 double m_acceptanceScore = 0;
61 double getAcceptanceRate();
64 void subLatticeSetup();
71 steady_clock::time_point m_preUpdate;
72 duration<double> m_updateTime;
73 double m_updateStorer = 0;
74 double m_updateStorerTherm = 0;
77 void setObservable(std::vector<std::string> obsList,
bool flow);
90 Flow * m_flow =
nullptr;
91 void flowConfiguration(
unsigned int iConfig);
92 void copyToFlowLattice();
97 inline void updateLink(
unsigned int iSite,
int mu);
106 std::mt19937_64 m_generator;
107 std::uniform_real_distribution<double> m_uniform_distribution;
110 void loadChroma(std::string configurationName);
111 void load(std::string configurationName);
112 void flowConfigurations();
113 void loadConfigurationAndRunMetropolis();
116 void runMetropolis();
125 #endif // METROPOLIS_H Class for applying gradient flow on lattice.
Definition: flow.h:20
void run()
System::run based on passed parameters, does one of three things:
Definition: system.cpp:239
void latticeSetup()
System::latticeSetup sets up the lattice geometry and allocates memory.
Definition: system.cpp:193
class for holding matrices.
Definition: su3.h:18
Class for generating random SU3 matrices.
Definition: su3matrixgenerator.h:20
The Action class.
Definition: action.h:22
System()
Definition: system.cpp:16
System is the class that ties the program together. It initiates and sets up the sub-lattices,...
Definition: system.h:29
base class for observables.
Definition: correlator.h:20
~System()
System::~System de-allocates action, lattice, correlator RNGs, flow lattice, flow correlator and flow...
Definition: system.cpp:130