GLAC
1.0
|
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>
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" |
ObservableStorer * | m_observable = nullptr |
bool | m_storeFlowObservable = false |
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.
TopologicalCharge::TopologicalCharge | ( | bool | storeFlowObservable | ) |
TopologicalCharge::~TopologicalCharge | ( | ) |
Correlator::calculate calculates a observable.
lattice | pointer to lattice of SU3 matrices |
iObs | number of the observable |
Reimplemented from Correlator.
|
inlinevirtual |
Reimplemented from Correlator.
|
virtual |
Correlator::printStatistics prints statistics from ObservableStorer.
Reimplemented from Correlator.
|
virtual |
Gathers results and performs statistics in the ObservableStorer object.
Reimplemented from Correlator.