Rate This Document
Findability
Accuracy
Completeness
Readability

GaugeField

GaugeField belongs to a template class. The table below shows the specific template content.

Table 1 GaugeField templates

Template Name

Type

Description

T

typename

Data type of the gauge field. The value can be float or double.

Nbatch

int

Batch size in the x direction. For float, the value can be 1 or 16. For double, the value is 1.

Recon

KuQCDGaugeReconstruct

SU(3) matrix compression scheme. Currently, the value can only be KUQCD_RECON_NO.

The following table describes the parameters of GaugeField.

Table 2 GaugeField parameters

Variable

Type

Description

even

SU3<T, Nbatch, Recon>

Even part of the gauge field

odd

SU3<T, Nbatch, Recon>

Odd part of the gauge field

comm

CommBase &

Gauge field communication

commHyperPlane

array<array<Communicator<GaugeT>, 2>, 4>

One-dimensional communicator

commPlane

array<array<Communicator<GaugeT>, 4>, 6>

Two-dimensional communicator

commStripe

array<array<Communicator<GaugeT>, 8>, 4>

Three-dimensional communicator

commCorner

array<Communicator<GaugeT>, 16>

Four-dimensional communicator

latBase

LattBase &

Target spatiotemporal lattice

data

SU3<T, Nbatch, Recon>*

Data

locSize

int

Number of floating-point numbers stored in each spatiotemporal lattice

length

size_t

Total number of spatiotemporal lattices; full lattice