GLAC  1.0
Public Member Functions
MasterSamplerTopcXYZ Class Reference

Observable for calculating the plaquette, energy and euclidean time topological charge. More...

#include <mastersamplertopcxyz.h>

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

Public Member Functions

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

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, energy and euclidean time topological charge.

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. Energy definition:

\[ E = -\frac{1}{64|\Lambda|} \sum_{n\in\Lambda} \sum_{\mu<\nu} \left(\tilde{C}_{\mu\nu}(n)\right)^2. \]

Topological charge definition:

\[ q(n_e) = \frac{1}{32\pi^2} \sum_{n\in N^3} \epsilon_{\mu\nu\rho\sigma} \mathrm{tr}\left[F_{\mu\nu}(n)F_{\rho\sigma}(n)\right], \]

where \(n_e\) is the position in the lattice in Euclidean time. \(F_{\nu\mu}\) is the clover.

Author
Mathias M. Vege
Version
1.0
Date
2017-2019

Constructor & Destructor Documentation

◆ MasterSamplerTopcXYZ()

MasterSamplerTopcXYZ::MasterSamplerTopcXYZ ( bool  flow)
Here is the call graph for this function:

◆ ~MasterSamplerTopcXYZ()

MasterSamplerTopcXYZ::~MasterSamplerTopcXYZ ( )

Member Function Documentation

◆ calculate()

void MasterSamplerTopcXYZ::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:

◆ copyObservable()

void MasterSamplerTopcXYZ::copyObservable ( unsigned int  iObs,
std::vector< double >  obs 
)
virtual

Correlator::copyObservable copies the observable if has already been calculated at zero flow time.

Parameters
iObsobservable number.
obsvector containing observable information. Is a vector in case it consists of multiple values(e.g. topc in Euclidean time).

Reimplemented from Correlator.

◆ getObservablesVector()

std::vector< double > MasterSamplerTopcXYZ::getObservablesVector ( unsigned int  iObs)
virtual

Correlator::getObservablesVector.

Parameters
iObs
Returns
a vector containing the observables at given iObs.

Reimplemented from Correlator.

◆ initializeObservableStorer()

void MasterSamplerTopcXYZ::initializeObservableStorer ( bool  storeFlowObservable)
virtual

Correlator::initializeObservableStorer initializes ObservableStorer.

Parameters
storeFlowObservable

Reimplemented from Correlator.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printHeader()

void MasterSamplerTopcXYZ::printHeader ( )
virtual

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

Reimplemented from Correlator.

Here is the call graph for this function:

◆ printObservable()

void MasterSamplerTopcXYZ::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:

◆ printStatistics()

void MasterSamplerTopcXYZ::printStatistics ( )
virtual

Correlator::printStatistics prints statistics from ObservableStorer.

Reimplemented from Correlator.

Here is the call graph for this function:

◆ reset()

void MasterSamplerTopcXYZ::reset ( )
virtual

Correlator::reset resets ObservableStorer.

Reimplemented from Correlator.

Here is the call graph for this function:

◆ runStatistics()

void MasterSamplerTopcXYZ::runStatistics ( )
virtual

Correlator::runStatistics.

Gathers results and performs statistics in the ObservableStorer object.

Reimplemented from Correlator.

Here is the call graph for this function:

◆ writeFlowObservablesToFile()

void MasterSamplerTopcXYZ::writeFlowObservablesToFile ( unsigned int  iFlow)
virtual

Correlator::writeFlowObservablesToFile.

Parameters
iFlowGathers results and performs statistics in the ObservableStorer object.

Reimplemented from Correlator.

Here is the call graph for this function:

◆ writeObservableToFile()

void MasterSamplerTopcXYZ::writeObservableToFile ( double  acceptanceRatio)
virtual

Correlator::writeObservableToFile calls the ObservableStorer for writing observable to file.

Parameters
acceptanceRatio

Reimplemented from Correlator.

Here is the call graph for this function:

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