The Action class.
More...
#include <action.h>
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
- Copyright
- MIT Licence
◆ Action()
◆ ~Action()
~Action destructor. Nothing to de-allocate in base class
◆ 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
-
lattice | a pointer of four lattice objects, one for each lorentz index. |
i | spatial \(x\) position. |
j | spatial \(y\) position. |
k | spatial \(z\) position. |
l | temporal \(t\) position. |
mu | lorentz index, \(\mu\). |
- Returns
- Returns change in action \(\Delta S\)
Reimplemented in LuscherAction, and WilsonGaugeAction.
◆ getActionDerivative()
getActionDerivative, computes the derivative of the lattice in given direction.
- Parameters
-
lattice | a pointer of four lattice objects, one for each lorentz index. |
mu | lorentz index, \(\mu\). |
Reimplemented in LuscherAction, and WilsonGaugeAction.
◆ getDeltaAction()
double Action::getDeltaAction |
( |
SU3 |
U, |
|
|
SU3 |
UPrime |
|
) |
| |
|
virtual |
getDeltaAction computes the change in action. Staple must have already have been calculated.
- Parameters
-
U | Old link |
UPrime | Updated link |
Reimplemented in LuscherAction, and WilsonGaugeAction.
◆ m_N
std::vector<unsigned int> Action::m_N |
|
protected |
◆ 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: