Skip to content

FLUE_openQCDFileIO_SA ​

Functions to read and write openqcd format gaugefields

Source: src/gaugeIO/openqcdfileio_standalone.f90

Dependencies

Contents ​

Subroutines ​

writeGaugeField_OpenQCD ​

Writes an openqcd gaugefield to file

fortran
subroutine writeGaugeField_OpenQCD(filename, U_in, NX, NY, NZ, NT)

Arguments

NameTypeIntentAttributesDescription
filenamecharacter(len=*)infile to write to
U_incomplex(kind=WC)indimension(3, 3, 4, NT, NX, NY, NZ)gaugefield to write
NXintegerinlattice dimensions
NYintegerinlattice dimensions
NZintegerinlattice dimensions
NTintegerinlattice dimensions

Call graph

Functions ​

modc ​

Maps an integer a to the set of integers [1,b] i.e. positive integers with cycle length b.

Attributes: elemental

Returns: integer

fortran
function modc(a, b) result(c)

Arguments

NameTypeIntentAttributesDescription
aintegerininput variables
bintegerininput variables

Call graph

ReadGaugeField_OpenQCD ​

Reads an openqcd format gaugefield into internal form [3,3,4,NT,NX,NY,NZ]

Returns: complex(kind=WC)

fortran
function ReadGaugeField_OpenQCD(filename, NX, NY, NZ, NT, fixSU3) result(U_out)

Arguments

NameTypeIntentAttributesDescription
filenamecharacter(len=*)inThe file to be read
NXintegerinDimensions of gaugefield
NYintegerinDimensions of gaugefield
NZintegerinDimensions of gaugefield
NTintegerinDimensions of gaugefield
fixSU3logicalinoptionalOptionally reproject each link to SU3

Call graph