An implementation of the Wilson gauge action,.
More...
#include <luscheraction.h>
An implementation of the Wilson gauge action,.
\begin{eqnarray*} S_G[U] = \frac{\beta}{3} \sum_{n\in\Lambda} \sum_{\mu<\nu} \mathrm{Re} \mathrm{tr} \big[ 1 - P_{\mu\nu}(n) \big]. \end{eqnarray*}
The different between this and WilsonGaugeAction is that in the getActionDerivative we perform an explicit calculation of the derivative in terms of its \(\mathrm{SU}(3)\) generator.
- Author
- Mathias M. Vege
- Version
- 1.0
- Date
- 2017-2019
- Copyright
- MIT Licence
◆ LuscherAction()
LuscherAction::LuscherAction |
( |
| ) |
|
◆ ~LuscherAction()
LuscherAction::~LuscherAction |
( |
| ) |
|
◆ computeStaple()
void LuscherAction::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 from Action.
◆ 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\). |
A slightly modified version of the Action derivative Multiply the product of this with each of the 8 \(T^a\) generators Take trace, real, and the multiply with \(\beta/3\). Multiply with 8 generators \(T^a\) again, sum and return matrix Can multiply the return matrix exactly instead of doing the 8 matrix multiplications and sums ect. See python script gellmann_matrix_multiplication.py for more details.
Reimplemented from Action.
◆ getDeltaAction()
double LuscherAction::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 from Action.
◆ updateMuIndex()
void LuscherAction::updateMuIndex |
( |
int |
mu | ) |
|
|
inline |
updateMuIndex updates the m_muIndex based on mu.
- Parameters
-
mu | direction which will be set to 1. All others set to zero. |
◆ updateNuIndex()
void LuscherAction::updateNuIndex |
( |
int |
nu | ) |
|
|
inline |
updateNuIndex updates the m_nuIndex based on nu.
- Parameters
-
nu | direction which will be set to 1. All others set to zero. |
The documentation for this class was generated from the following files: