57 m_size = m_lat->getSize();
58 m_norm = 1.0 / 18.0 / m_size[0] / m_size[1] / m_size[2] / m_size[3] / Parallel::numProcs();
67 for(
int mu = 0; mu < 4; mu++){
68 for(
int nu = mu + 1; nu < 4; nu++){
69 for(
int x = 0; x < m_size[0]; x++){
70 for(
int y = 0; y < m_size[1]; y++){
71 for(
int z = 0; z < m_size[2]; z++){
72 for(
int t = 0; t < m_size[3]; t++){
73 m_value += ( (*m_lat)(x,y,z,t)[mu]
74 * m_lat->shift(x,y,z,t,nu, mu, 1)
75 * ~(m_lat->shift(x,y,z,t,mu, nu, 1))
76 * ~(*m_lat)(x,y,z,t)[nu]
Contains the definition of the Lattice class.
Contains the definition of the Observable prototype.
Contains the definition of the Plaquette observable.
Plaquette()
constructor of the Plaquette class
void compute()
Compute the value of the plaquette over the whole lattice.
void initObservable(Lattice *lattice)
constructor of the Plaquette class
Utilities for parallelization.
Basic library to implement SU3 matrix arithmetics and functions.
void gatherResults()
MPI reduction of the observable value.
Template class to store an array with 4 dimensional indices of a given datatype. Includes functionali...
Prototype for the Observable class group.