Skip to content

flue_wloops ​

Module to do calculations for wilson loops and generic paths of gauge links in SU3

Source: src/wloops.F90

Dependencies

Contents ​

Subroutines ​

genplaquette ​

Calculates the plaquette using genplaquette Outputs the sum over all real trace plaquettes, the number of plaquettes and the time taken Do all plaquettes using mustart=1, muend=4, nuend=4 Do spatial plaquettes using mustart=2, muend=4, nuend=4 Do temporal plaquettes using mustart=1, muend=1, nuend=4

fortran
subroutine genplaquette(data, nt, nx, ny, nz, mustart, muend, nuend, sumtrp, np, time)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(3, 3, 4, nt, nx, ny, nz)The gaugefield
ntintegerinThe size of the lattice
nxintegerinThe size of the lattice
nyintegerinThe size of the lattice
nzintegerinThe size of the lattice
mustartintegerinWhich dimensions to loop over
muendintegerinWhich dimensions to loop over
nuendintegerinWhich dimensions to loop over
sumtrpreal(kind=wp)outSum of ReTr(P) of all plaquettes
npintegeroutNumber of plaquettes
timereal(kind=WP)outTime taken for calculation

Call graph

polyakov ​

Calculates the Polyakov loop i.e. the real trace of temporal links Does not use genericPath

fortran
subroutine polyakov(data, sumtrp, np, time)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(:, :, :, :, :, :, 😃The Gaugefield [colour, colour, mu, NT, NX, NY, NZ]
sumtrpreal(kind=wp)outThe sum of all polyakov loops across lattice sites
npintegeroutNumber of loops measured
timereal(kind=WP)outtime taken to calculate

Call graph

Functions ​

genericpath ​

Returns the links starting from coordbase multiplied together along path Used to construct wilson loops, staples, etc

Attributes: pure

Returns: complex(kind=wc)

fortran
function genericpath(data, coordbase, path) result(u_xd)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(:, :, :, :, :, :, 😃The gaugefield of shape 3,3,4,nt,nx,ny,nz
coordbaseintegerindimension(4)The starting coordinate [it, ix, iy, iz]
pathintegerindimension(😃The path to follow in terms of +ve/-ve mu/nu/etc

Call graph

cloverloopmunucoord ​

Calculates the standard clover leaf definition of f_munu

Attributes: pure

Returns: complex(kind=wc)

fortran
function cloverloopmunucoord(data, nt, nx, ny, nz, mu, nu) result(u_xd)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(3, 3, 4, nt, nx, ny, nz)The gaugefield
ntintegerinDimensions of gaugefield
nxintegerinDimensions of gaugefield
nyintegerinDimensions of gaugefield
nzintegerinDimensions of gaugefield
muintegerinplanes to calculate f_munu for
nuintegerinplanes to calculate f_munu for

Call graph

loop5munucoord ​

Calculates f_munu according to the 5-loop improved definition. See i.e. hep-lat/0203008

Attributes: pure

Returns: complex(kind=wc)

fortran
function loop5munucoord(data, nt, nx, ny, nz, mu, nu) result(u_xd)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(3, 3, 4, nt, nx, ny, nz)The gaugefield
ntintegerinDimensions of gaugefield
nxintegerinDimensions of gaugefield
nyintegerinDimensions of gaugefield
nzintegerinDimensions of gaugefield
muintegerinplane to calculate f_munu for
nuintegerinplane to calculate f_munu for

Call graph

plaquettemunucoord ​

Calculates f_munu from the plaquette only

Returns: complex(kind=wc)

fortran
function plaquettemunucoord(data, nt, nx, ny, nz, mu, nu) result(u_xd)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(3, 3, 4, nt, nx, ny, nz)The gaugefield
ntintegerinDimensions of gaugefield
nxintegerinDimensions of gaugefield
nyintegerinDimensions of gaugefield
nzintegerinDimensions of gaugefield
muintegerinplane to calculate f_munu for
nuintegerinplane to calculate f_munu for

Call graph

magnetic ​

Computes the magnetic contribution to the gauge-field action density.

This routine evaluates the magnetic component of the field-strength tensor (F_{\mu\nu}) using a five-loop clover discretization. The three independent spatial components,

B2=−∑i=13Tr(FjkFjk),

are constructed from the clover operators returned by loop5munucoord. The result is averaged over all lattice sites. The magnetic field components are therefore constructed from the spatial field-strength tensors:

  • (F_{23}) → bfield(:,:,:,:,:,:,1)
  • (F_{31}) → bfield(:,:,:,:,:,:,2)
  • (F_{12}) → bfield(:,:,:,:,:,:,3)

For each lattice site and magnetic component, the quantity

$ -\mathrm{Tr}(F_{ij}F_{ij})$

is accumulated and averaged over the lattice volume.

Returns: real(kind=wp)

fortran
function magnetic(data, nt, nx, ny, nz) result(b)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(3, 3, 4, nt, nx, ny, nz)The gaugefield
ntintegerinDimensions of gaugefield
nxintegerinDimensions of gaugefield
nyintegerinDimensions of gaugefield
nzintegerinDimensions of gaugefield

Call graph

periodcoord ​

Handles periodic boundary conditions Only handles steps of 1!

Attributes: pure

Returns: integer

fortran
function periodcoord(coord, datashape)

Arguments

NameTypeIntentAttributesDescription
coordintegerindimension(4)Coord to check [it, ix, iy, iz]
datashapeintegerindimension(7)Dimensions of gaugefield [colour, colour, mu, NT, NX, NY, NZ]

Call graph

wmunutau ​

Old unused function to calculate The nMuxNu loop at t=tau in plane mu nu Returns average value of realtrace of loop DOES NOT USE GENERIC PATH

Attributes: pure

Returns: real(kind=wp)

fortran
function wmunutau(data, tau, mu, nu, nmu, nnu) result(loopval)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(:, :, :, :, :, :, 😃The gaugefield [colour, colour, mu, NT, NX, NY, NZ]
tauintegerintime slice to calculate at
muintegerinplane to calcluate in
nuintegerinplane to calcluate in
nmuintegerinDimensions of loop to calculate
nnuintegerinDimensions of loop to calculate

Call graph

wmunu ​

Calculates the nMuxnNu loop averages over all sites in the mu-nu plane Does not use genericPath

Attributes: pure

Returns: real(kind=wp)

fortran
function wmunu(data, mu, nu, nmu, nnu) result(loopval)

Arguments

NameTypeIntentAttributesDescription
datacomplex(kind=wc)indimension(:, :, :, :, :, :, 😃The Gaugefield [colour, colour, mu, NT, NX, NY, NZ]
muintegerinPlane to calculate in
nuintegerinPlane to calculate in
nmuintegerinSize of loop in mu, nu directions
nnuintegerinSize of loop in mu, nu directions

Call graph