LatticeYangMills
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Observable Class Referenceabstract

Prototype for the Observable class group. More...

#include <observable.h>

Inheritance diagram for Observable:
Inheritance graph
[legend]
Collaboration diagram for Observable:
Collaboration graph
[legend]

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

GluonFieldm_field = nullptr
 
double m_value
 
std::string m_name
 

Detailed Description

Prototype for the Observable class group.

Author
Giovanni Pederiva
Version
1.0
Date
2017-2018

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.


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