GLAC  1.0
topologicalcharge.h
Go to the documentation of this file.
1 
15 #ifndef TOPOLOGICALCHARGE_H
16 #define TOPOLOGICALCHARGE_H
17 
18 #include "correlator.h"
19 
21 {
22 private:
23  const std::string m_observableName = "Topological Charge";
24  const std::string m_observableNameCompact = "topc";
25 
26  // Indexes for retrieving the clovers
27  int mu = 0, rho, sigma;
28  double m_topCharge;
29  double m_multiplicationFactor;
30 
31  Lattice <double> m_tempDiag;
32  Lattice<SU3> m_clov1, m_clov2, m_U2Temp, m_U3Temp, m_temp;
33 public:
34  TopologicalCharge(bool storeFlowObservable);
36 
37  void calculate(Lattice<SU3> *lattice, unsigned int iObs);
38 
39  // Stats
40  void runStatistics();
41  // Printers
42  void printStatistics();
43  // Getters
44  std::string getObservableName() { return m_observableName; }
45 };
46 
47 #endif // TOPOLOGICALCHARGE_H
~TopologicalCharge()
Definition: topologicalcharge.cpp:21
Solely calculates the topological charge as given by, where is the position in the lattice in Eucli...
Definition: topologicalcharge.h:20
void calculate(Lattice< SU3 > *lattice, unsigned int iObs)
Correlator::calculate calculates a observable.
Definition: topologicalcharge.cpp:26
std::string getObservableName()
Definition: topologicalcharge.h:44
base class for observables.
Definition: correlator.h:20
TopologicalCharge(bool storeFlowObservable)
Definition: topologicalcharge.cpp:7
void printStatistics()
Correlator::printStatistics prints statistics from ObservableStorer.
Definition: topologicalcharge.cpp:126
void runStatistics()
Correlator::runStatistics.
Definition: topologicalcharge.cpp:131