GLAC  1.0
Public Member Functions
EnergyDensity Class Reference

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>

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

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"
 
ObservableStorerm_observable = nullptr
 
bool m_storeFlowObservable = false
 

Detailed Description

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.

Author
Mathias M. Vege
Version
1.0
Date
2017-2019

Constructor & Destructor Documentation

◆ EnergyDensity()

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

◆ ~EnergyDensity()

EnergyDensity::~EnergyDensity ( )

Member Function Documentation

◆ calculate()

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

Reimplemented from Correlator.

◆ printStatistics()

void EnergyDensity::printStatistics ( )
virtual

Correlator::printStatistics prints statistics from ObservableStorer.

Reimplemented from Correlator.

Here is the call graph for this function:

◆ runStatistics()

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