16 void MesPhas(multi1d<LatticeReal>& meson_phases,
21 multi1d<LatticeInteger>
x(
Nd);
22 multi1d<Real> sgnn(2);
27 meson_phases.resize(
Nd);
33 for(
m = 0;
m < (
Nd); ++
m ) {
35 x[
i] = Layout::latticeCoordinate(
m);
49 meson_phases[0] =
one;
61 meson_phases[2] = where((
x[0] & 1) == 0, LatticeReal(1), LatticeReal(-1));
72 meson_phases[1] = where((
x[0] & 1) == 0, LatticeReal(1), LatticeReal(-1))
73 + where((
x[1] & 1) == 0, LatticeReal(1), LatticeReal(-1));
78 meson_phases[2] = where(((
x[0]+
x[1]) & 1) == 0, LatticeReal(1), LatticeReal(-1));
89 meson_phases[1] = where((
x[0] & 1) == 0, LatticeReal(1), LatticeReal(-1))
90 + where((
x[1] & 1) == 0, LatticeReal(1), LatticeReal(-1))
91 + where((
x[2] & 1) == 0, LatticeReal(1), LatticeReal(-1));
94 meson_phases[2] = where(((
x[0]+
x[1]) & 1) == 0, LatticeReal(1), LatticeReal(-1))
95 + where(((
x[0]+
x[2]) & 1) == 0, LatticeReal(1), LatticeReal(-1))
96 + where(((
x[1]+
x[2]) & 1) == 0, LatticeReal(1), LatticeReal(-1));
99 meson_phases[3] = where(((
x[0]+
x[1]+
x[2]) & 1) == 0, LatticeReal(1), LatticeReal(-1));
Primary include file for CHROMA library code.
Asqtad Staggered-Dirac operator.
QDP_error_exit("too many BiCG iterations", n_count, rsd_sq, cp, c, re_rvr, im_rvr, re_a, im_a, re_b, im_b)
void MesPhas(multi1d< LatticeReal > &meson_phases, int j_decay)