27 const LatticeFermion&
chi,
const LatticeFermion&
psi,
34 multi1d<LatticeColorMatrix> ds_tmp(
Nd);
47 const LatticeFermion&
chi,
const LatticeFermion&
psi,
55 const multi1d<Real>& anisoWeights = getCoeffs();
57 for(
int mu = 0;
mu < 3; ++
mu)
60 LatticeFermion temp_ferm1;
61 LatticeHalfFermion tmp_h;
70 tmp_h[rb3[1-
cb]] = spinProjectDir0Minus(
psi);
71 temp_ferm1[rb3[1-
cb]] = spinReconstructDir0Minus(tmp_h);
74 tmp_h[rb3[1-
cb]] = spinProjectDir1Minus(
psi);
75 temp_ferm1[rb3[1-
cb]] = spinReconstructDir1Minus(tmp_h);
78 tmp_h[rb3[1-
cb]] = spinProjectDir2Minus(
psi);
79 temp_ferm1[rb3[1-
cb]] = spinReconstructDir2Minus(tmp_h);
91 LatticeHalfFermion tmp_h;
94 tmp_h[rb3[1-
cb]] = spinProjectDir0Plus(
psi);
95 temp_ferm1[rb3[1-
cb]] = spinReconstructDir0Plus(tmp_h);
98 tmp_h[rb3[1-
cb]] = spinProjectDir1Plus(
psi);
99 temp_ferm1[rb3[1-
cb]] = spinReconstructDir1Plus(tmp_h);
102 tmp_h[rb3[1-
cb]] = spinProjectDir2Plus(
psi);
103 temp_ferm1[rb3[1-
cb]] = spinReconstructDir2Plus(tmp_h);
115 LatticeFermion temp_ferm2 = shift(temp_ferm1,
FORWARD,
mu);
116 LatticeColorMatrix temp_mat;
119 temp_mat[rb3[
cb]] = traceSpin(outerProduct(temp_ferm2,
chi));
122 ds_u[
mu][rb3[
cb]] = anisoWeights[
mu] * temp_mat;
129 getFermBC().zero(ds_u);
137 WilsonDslash3DBase::nFlops()
const {
return 990;}
Primary include file for CHROMA library code.
3D Wilson Dslash linear operator
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)
multi1d< LatticeFermion > chi(Ncb)
multi1d< LatticeColorMatrix > deriv(const EvenOddPrecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AP, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign)
Apply the operator onto a source std::vector.