26 void temporalGauge(multi1d<LatticeColorMatrix>& ug, LatticeColorMatrix& g,
int decay_dir)
31 if (decay_dir < 0 || decay_dir >= ug.size())
33 QDPIO::cerr << __func__ <<
": invalid decay_dir= " << decay_dir << std::endl;
38 int N_t = Layout::lattSize()[decay_dir];
39 LatticeInteger t_coord = Layout::latticeCoordinate(decay_dir);
43 LatticeColorMatrixD
u = ug[decay_dir];
44 LatticeColorMatrixD gt = 1;
47 LatticeColorMatrixD U_prev = shift(
u,
BACKWARD, decay_dir);
48 LatticeColorMatrixD G_prev = gt;
50 for(
int t = 1;
t < N_t; ++
t) {
51 LatticeBoolean btmp = (t_coord ==
t);
52 LatticeColorMatrixD t1 = G_prev*U_prev ;
72 LatticeColorMatrix
u = ug[decay_dir];
73 LatticeColorMatrix g_unit = 1;
76 LatticeBoolean btmp = (t_coord == (N_t-1) );
80 QDPIO::cout <<
"Norm of Unit-Gauge violation / link = " << sqrt( norm2(
u-g_unit) )/ Layout::vol() << std::endl;
Primary include file for CHROMA library code.
void temporalGauge(multi1d< LatticeColorMatrix > &ug, LatticeColorMatrix &g, int decay_dir)
Temporal gauge fixing.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
copymask(lcoord, lbit, ltmp_1, REPLACE)