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

Prototype for the Action class group. More...

#include <action.h>

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

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< SU3computeDerivative (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

GluonFieldm_lat = nullptr
 The GluonField object the action is linked to.
 

Detailed Description

Prototype for the Action class group.

Author
Giovanni Pederiva
Version
1.0
Date
2017-2018

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.

Definition at line 54 of file action.h.

Member Function Documentation

void Action::initAction ( GluonField lattice)

Links the action to a given field and initializes.

Links an action object to a GluonField object.

Parameters
latticeThe gluonfield to link to the action instance.

Definition at line 41 of file action.cpp.


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