42 set_threadtask(ith, nth, is, ns, Svol);
45 for (
int site = is; site < ns; ++site) {
74 set_threadtask(ith, nth, is, ns, Svol);
77 int site0 = Nvol - Svol;
78 for (
int site2 = is; site2 < ns; ++site2) {
79 int site = site2 + site0;
102 int Svol = Nvol / Nt;
104 int ith, nth, is, ns;
105 set_threadtask(ith, nth, is, ns, Svol);
108 for (
int site = is; site < ns; ++site) {
109 for (
int cc = 0; cc < 2 * Nc * Nc; ++cc) {
110 u.
set(cc, site, mn, 0.0);
124 int Svol = Nvol / Nt;
127 int ith, nth, is, ns;
128 set_threadtask(ith, nth, is, ns, Svol);
131 for (
int site = is; site < ns; ++site) {
132 for (
int in = 0; in < Nin; ++in) {
133 f.
set(in, site, 0, 0.0);
156 int Svol = Nvol / Nt;
158 int ith, nth, is, ns;
159 set_threadtask(ith, nth, is, ns, Svol);
162 for (
int mn = 0; mn < 3; ++mn) {
163 for (
int site = is; site < ns; ++site) {
164 for (
int cc = 0; cc < 2 * Nc * Nc; ++cc) {
165 u.
set(cc, site, mn, 0.0);
193 int Svol = Nx * Ny * Nz;
196 const int ini = Nx * Ny * Nz * t;
199 int ith, nth, is, ns;
200 set_threadtask(ith, nth, is, ns, Svol);
204 for (
int site2 = is; site2 < ns; ++site2) {
205 int site = site2 + ini;
206 for (
int cc = 0; cc < 2 * Nc * Nc; ++cc) {
207 double ut = u.
cmp(cc, site, mn);
208 u.
set(cc, site, mn, ut * ct);
219 const double Lx_inv = 1.0 / double(Lx);
221 double c0r = cos(phi[0] * Lx_inv);
222 double c0i = sin(phi[0] * Lx_inv);
223 double c1r = cos(phi[1] * Lx_inv);
224 double c1i = sin(phi[1] * Lx_inv);
225 double c2r = cos(phi[2] * Lx_inv);
226 double c2i = sin(phi[2] * Lx_inv);
229 wk.
set(0, 0, c0r, c0i);
230 wk.
set(1, 1, c1r, c1i);
231 wk.
set(2, 2, c2r, c2i);