LatticeYangMills
|
Prototype for the Observable class group. More...
#include <observable.h>
Public Member Functions | |
virtual void | compute ()=0 |
virtual void | initObservable (GluonField *field)=0 |
const char * | getName () |
returns the string tag of the observable | |
double | value () |
returns the value of the observable | |
Public Attributes | |
double | plaq |
double | energy |
double | topc |
Protected Member Functions | |
void | gatherResults () |
MPI reduction of the observable value. | |
Protected Attributes | |
GluonField * | m_field = nullptr |
double | m_value |
std::string | m_name |
Prototype for the Observable class group.
Prototype for class Observable. Every implementation of a physical observable should inherit from this class. Provides an interface for the retreival of the value of the observable and for the computation of in. Parallel reduction is also implemented
Definition at line 52 of file observable.h.