37 #include "latticemath.h" 52 template <
typename T,
int N>
56 Field(std::array<int, 4> size);
57 inline Lattice<T>& operator[](
int mu) {
return m_lats[mu]; }
60 std::array<int, 4> m_size;
62 std::array<Lattice<T>, N> m_lats;
65 template <
typename T,
int N>
70 for(
int i = 0; i < N; i++)
71 m_lats[i].allocate(m_size);
Class that represents the QCD field as an array of 4 SU3 lattices.
Field< SU3, 4 > GluonField
Template class to store an array with 4 dimensional indices of a given datatype. Includes functionali...