Rate This Document
Findability
Accuracy
Completeness
Readability

SpinorField

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

Table 1 SpinorField templates

Template Name

Type

Description

T

typename

Data type of the spinor 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.

Ns

int

Number of spinor field components. For Wilson fermions, the value is 4. For staggered fermions, the value is 1.

The following table describes the parameters of SpinorField.

Table 2 SpinorField parameters

Variable

Type

Description

latBase

LattBase &

Target lattice

data

ColorSpinor<T,Nbatch>

Data

locSize

int

Number of floating-point numbers stored in each spatiotemporal lattice

length

size_t

Total number of spatiotemporal lattices, accounting for even-odd preconditioning