HILA
|
#include "hila.h"
Go to the source code of this file.
Functions | |
template<typename T > | |
void | staplesum (const GaugeField< T > &U, Field< T > &staples, Direction d1, Parity par=ALL) |
Sum the staples of link matrices to direction dir. | |
void staplesum | ( | const GaugeField< T > & | U, |
Field< T > & | staples, | ||
Direction | d1, | ||
Parity | par = ALL |
||
) |
Sum the staples of link matrices to direction dir.
Naive method is to compute:
But the method is computed in a slightly more optimized way
T |
U | GaugeField to compute staples for |
staples | Filed to compute staplesum into at each lattice point |
d1 | Direction to compute staplesum for |
par | Parity to compute staplesum for |