LatticeYangMills
|
Prototype for the Action class group. More...
#include <action.h>
Public Member Functions | |
virtual double | compute (int x, int y, int z, int t, int mu, SU3 &newLink)=0 |
Computes the action difference around a given link for a suggested move. | |
virtual void | computeStaples (int mu)=0 |
Computes the sum of the staples around all links. | |
virtual Lattice< SU3 > | computeDerivative (int mu)=0 |
Computes the derivative in a given direction around all links. | |
void | initAction (GluonField *field) |
Links the action to a given field and initializes. More... | |
Protected Attributes | |
GluonField * | m_lat = nullptr |
The GluonField object the action is linked to. | |
Prototype for the Action class group.
The Action class is one of the key elements of the program. It specifies the acceptance of a Metropolis test and the evolution according to flow equations. It is of virtual type, so an implementation is always required. It mainly offers the possibility of retrieving the action around a single link or the derivative of the action around all links.
void Action::initAction | ( | GluonField * | lattice | ) |
Links the action to a given field and initializes.
Links an action object to a GluonField object.
lattice | The gluonfield to link to the action instance. |
Definition at line 41 of file action.cpp.