GLAC  1.0
plaquette.h
Go to the documentation of this file.
1 
21 #ifndef PLAQUETTE_H
22 #define PLAQUETTE_H
23 
24 #include "correlator.h"
25 
26 class Plaquette : public Correlator
27 {
28 private:
29  double m_multiplicationFactor;
30  double m_tempObservable = 0;
31  // Initializes temporary sample storer
32  Lattice<SU3> m_temp;
33  // Observable names, human readability and for io
34  const std::string m_observableName = "Plaquette";
35  const std::string m_observableNameCompact = "plaq";
36 public:
37  Plaquette(bool storeFlowObservable);
38  ~Plaquette();
39  void calculate(Lattice<SU3> *lattice, unsigned int iObs);
40  // Statistics getter
41  void runStatistics();
42  // Setters
43  void setLatticeSize(unsigned long int latticeSize);
44  // Getters
45  std::string getObservableName() { return m_observableName; }
46  // Printers
47  void printObservable(unsigned int iObs);
48  void printHeader();
49 };
50 
51 #endif // PLAQUETTE_H
void printObservable(unsigned int iObs)
Correlator::printObservable prints the observable for the output.
Definition: plaquette.cpp:53
std::string getObservableName()
Definition: plaquette.h:45
void printHeader()
Correlator::printHeader prints a the observable name for output in header.
Definition: plaquette.cpp:64
Observable for calculating the plaquette.
Definition: plaquette.h:26
Plaquette(bool storeFlowObservable)
Definition: plaquette.cpp:8
base class for observables.
Definition: correlator.h:20
void calculate(Lattice< SU3 > *lattice, unsigned int iObs)
Correlator::calculate calculates a observable.
Definition: plaquette.cpp:26
~Plaquette()
Definition: plaquette.cpp:15
void runStatistics()
Correlator::runStatistics.
Definition: plaquette.cpp:42
void setLatticeSize(unsigned long int latticeSize)