GLAC
1.0
|
Solely calculates the energy density as given by,
\[ E = -\frac{1}{64|\Lambda|} \sum_{n\in\Lambda}\sum_{\mu<\nu} \big(\tilde{C}_{\mu\nu}(n)\big)^2. \]
The \(F_{\mu\nu}\) is the clover. More...
#include <energydensity.h>
Public Member Functions | |
EnergyDensity (bool storeFlowObservable) | |
~EnergyDensity () | |
void | calculate (Lattice< SU3 > *lattice, unsigned int iObs) |
Correlator::calculate calculates a observable. More... | |
void | printStatistics () |
Correlator::printStatistics prints statistics from ObservableStorer. More... | |
std::string | getObservableName () |
void | runStatistics () |
Correlator::runStatistics. 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 | 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 energy density as given by,
\[ E = -\frac{1}{64|\Lambda|} \sum_{n\in\Lambda}\sum_{\mu<\nu} \big(\tilde{C}_{\mu\nu}(n)\big)^2. \]
The \(F_{\mu\nu}\) is the clover.
EnergyDensity::EnergyDensity | ( | bool | storeFlowObservable | ) |
EnergyDensity::~EnergyDensity | ( | ) |
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.