GLAC  1.0
Public Member Functions
Plaquette Class Reference

Observable for calculating the plaquette. More...

#include <plaquette.h>

Inheritance diagram for Plaquette:
[legend]
Collaboration diagram for Plaquette:
[legend]

Public Member Functions

 Plaquette (bool storeFlowObservable)
 
 ~Plaquette ()
 
void calculate (Lattice< SU3 > *lattice, unsigned int iObs)
 Correlator::calculate calculates a observable. More...
 
void runStatistics ()
 Correlator::runStatistics. More...
 
void setLatticeSize (unsigned long int latticeSize)
 
std::string getObservableName ()
 
void printObservable (unsigned int iObs)
 Correlator::printObservable prints the observable for the output. More...
 
void printHeader ()
 Correlator::printHeader prints a the observable name for output in header. More...
 
- Public Member Functions inherited from Correlator
 Correlator (bool storeFlowObservable)
 Correlator::Correlator. More...
 
 Correlator ()
 Correlator::Correlator. More...
 
virtual ~Correlator ()
 
virtual void writeObservableToFile (double acceptanceRatio)
 Correlator::writeObservableToFile calls the ObservableStorer for writing observable to file. More...
 
virtual void writeFlowObservablesToFile (unsigned int iFlow)
 Correlator::writeFlowObservablesToFile. More...
 
virtual void printStatistics ()
 Correlator::printStatistics prints statistics from ObservableStorer. More...
 
virtual void copyObservable (unsigned int iObs, std::vector< double > obs)
 Correlator::copyObservable copies the observable if has already been calculated at zero flow time. More...
 
virtual std::vector< double > getObservablesVector (unsigned int iObs)
 Correlator::getObservablesVector. More...
 
virtual double getObservable (unsigned int iObs)
 Correlator::getObservable. More...
 
virtual int getHeaderWidth ()
 
virtual void reset ()
 Correlator::reset resets ObservableStorer. More...
 
virtual void initializeObservableStorer (bool storeFlowObservable)
 Correlator::initializeObservableStorer initializes ObservableStorer. More...
 

Additional Inherited Members

- Protected Attributes inherited from Correlator
std::vector< unsigned int > m_N
 
double m_latticeSize
 
double m_a
 
const int m_headerWidth = 20
 
const std::string m_observableName = "Correlator"
 
const std::string m_observableNameCompact = "correlator"
 
ObservableStorerm_observable = nullptr
 
bool m_storeFlowObservable = false
 

Detailed Description

Observable for calculating the plaquette.

Plaqeutte definition:

\[ P = \frac{1}{16|\Lambda|} \sum_{n\in\Lambda} \sum_{\mu < \nu} \Re \mathrm{tr} P_{\mu\nu}, \]

where

\[ P_{\mu\nu}=U_\mu(n) U_{\nu}(n+\hat{\mu}) U_{\mu}(n+\hat{\nu})^\dagger U_{\nu} (n)^\dagger \]

is the plquette.

Author
Mathias M. Vege
Version
1.0
Date
2017-2019

Constructor & Destructor Documentation

◆ Plaquette()

Plaquette::Plaquette ( bool  storeFlowObservable)
Here is the call graph for this function:

◆ ~Plaquette()

Plaquette::~Plaquette ( )

Member Function Documentation

◆ calculate()

void Plaquette::calculate ( Lattice< SU3 > *  lattice,
unsigned int  iObs 
)
virtual

Correlator::calculate calculates a observable.

Parameters
latticepointer to lattice of SU3 matrices
iObsnumber of the observable

Reimplemented from Correlator.

Here is the call graph for this function:

◆ getObservableName()

std::string Plaquette::getObservableName ( )
inlinevirtual

Reimplemented from Correlator.

◆ printHeader()

void Plaquette::printHeader ( )
virtual

Correlator::printHeader prints a the observable name for output in header.

Reimplemented from Correlator.

◆ printObservable()

void Plaquette::printObservable ( unsigned int  iObs)
virtual

Correlator::printObservable prints the observable for the output.

Parameters
iObs

Reimplemented from Correlator.

Here is the call graph for this function:

◆ runStatistics()

void Plaquette::runStatistics ( )
virtual

Correlator::runStatistics.

Gathers results and performs statistics in the ObservableStorer object.

Reimplemented from Correlator.

Here is the call graph for this function:

◆ setLatticeSize()

void Plaquette::setLatticeSize ( unsigned long int  latticeSize)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: