GLAC  1.0
Public Member Functions
TopologicalCharge Class Reference

Solely calculates the topological charge as given by,

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

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

#include <topologicalcharge.h>

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

Public Member Functions

 TopologicalCharge (bool storeFlowObservable)
 
 ~TopologicalCharge ()
 
void calculate (Lattice< SU3 > *lattice, unsigned int iObs)
 Correlator::calculate calculates a observable. More...
 
void runStatistics ()
 Correlator::runStatistics. More...
 
void printStatistics ()
 Correlator::printStatistics prints statistics from ObservableStorer. More...
 
std::string getObservableName ()
 
- 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 printObservable (unsigned int iObs)
 Correlator::printObservable prints the observable for the output. More...
 
virtual void printHeader ()
 Correlator::printHeader prints a the observable name for output in header. 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

Solely calculates the topological charge as given by,

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

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

◆ TopologicalCharge()

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

◆ ~TopologicalCharge()

TopologicalCharge::~TopologicalCharge ( )

Member Function Documentation

◆ calculate()

void TopologicalCharge::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 TopologicalCharge::getObservableName ( )
inlinevirtual

Reimplemented from Correlator.

◆ printStatistics()

void TopologicalCharge::printStatistics ( )
virtual

Correlator::printStatistics prints statistics from ObservableStorer.

Reimplemented from Correlator.

Here is the call graph for this function:

◆ runStatistics()

void TopologicalCharge::runStatistics ( )
virtual

Correlator::runStatistics.

Gathers results and performs statistics in the ObservableStorer object.

Reimplemented from Correlator.

Here is the call graph for this function:

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