GLAC  1.0
Public Member Functions | Protected Attributes
Action Class Reference

The Action class. More...

#include <action.h>

Inheritance diagram for Action:
[legend]

Public Member Functions

 Action ()
 Action base constructor. More...
 
virtual ~Action ()
 ~Action destructor. Nothing to de-allocate in base class More...
 
virtual double getDeltaAction (SU3 U, SU3 UPrime)
 getDeltaAction computes the change in action. Staple must have already have been calculated. More...
 
virtual void computeStaple (Lattice< SU3 > *lattice, unsigned int i, unsigned int j, unsigned int k, unsigned int l, int mu)
 computeStaple computes the staple at given poisition. More...
 
virtual Lattice< SU3getActionDerivative (Lattice< SU3 > *lattice, int mu)
 getActionDerivative, computes the derivative of the lattice in given direction. More...
 

Protected Attributes

std::vector< unsigned int > m_N
 m_N Lattice dimension array More...
 
std::vector< int > m_position
 Array for holding the position in lattice. More...
 

Detailed Description

The Action class.

The base action class for all other actions to be derived upon.

Author
Mathias M. Vege
Version
1.0
Date
2017-2019

Constructor & Destructor Documentation

◆ Action()

Action::Action ( )

Action base constructor.

Here is the call graph for this function:

◆ ~Action()

Action::~Action ( )
virtual

~Action destructor. Nothing to de-allocate in base class

Member Function Documentation

◆ computeStaple()

void Action::computeStaple ( Lattice< SU3 > *  lattice,
unsigned int  i,
unsigned int  j,
unsigned int  k,
unsigned int  l,
int  mu 
)
virtual

computeStaple computes the staple at given poisition.

Parameters
latticea pointer of four lattice objects, one for each lorentz index.
ispatial \(x\) position.
jspatial \(y\) position.
kspatial \(z\) position.
ltemporal \(t\) position.
mulorentz index, \(\mu\).
Returns
Returns change in action \(\Delta S\)

Reimplemented in LuscherAction, and WilsonGaugeAction.

◆ getActionDerivative()

Lattice< SU3 > Action::getActionDerivative ( Lattice< SU3 > *  lattice,
int  mu 
)
virtual

getActionDerivative, computes the derivative of the lattice in given direction.

Parameters
latticea pointer of four lattice objects, one for each lorentz index.
mulorentz index, \(\mu\).

Reimplemented in LuscherAction, and WilsonGaugeAction.

Here is the caller graph for this function:

◆ getDeltaAction()

double Action::getDeltaAction ( SU3  U,
SU3  UPrime 
)
virtual

getDeltaAction computes the change in action. Staple must have already have been calculated.

Parameters
UOld link
UPrimeUpdated link

Reimplemented in LuscherAction, and WilsonGaugeAction.

Field Documentation

◆ m_N

std::vector<unsigned int> Action::m_N
protected

m_N Lattice dimension array

◆ m_position

std::vector<int> Action::m_position
protected

Array for holding the position in lattice.

m_position is used for handling the shift-method in parallelization.


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