6 #include "actions/ferm/linop/prec_wilson_linop_w.h"
8 using namespace QDP::Hints;
16 void EvenOddPrecWilsonLinOp::create(Handle< FermState<T,P,Q> > fs,
19 AnisoParam_t anisoParam;
20 create(fs, Mass_, anisoParam);
30 void EvenOddPrecWilsonLinOp::create(Handle< FermState<T,P,Q> > fs,
32 const AnisoParam_t& anisoParam)
36 D.create(fs,anisoParam);
39 Real ff = where(anisoParam.anisoP, anisoParam.nu / anisoParam.xi_0, Real(1));
40 fact = 1 + (
Nd-1)*ff +
Mass;
56 EvenOddPrecWilsonLinOp::evenOddLinOp(LatticeFermion&
chi,
57 const LatticeFermion&
psi,
79 EvenOddPrecWilsonLinOp::oddEvenLinOp(LatticeFermion&
chi,
80 const LatticeFermion&
psi,
97 const LatticeFermion&
psi,
104 moveToFastMemoryHint(tmp1);
105 moveToFastMemoryHint(
tmp2);
106 moveToFastMemoryHint(
tmp3);
109 Real mquarterinvfact = -0.25*invfact;
134 getFermBC().modifyF(
chi, rb[1]);
142 EvenOddPrecWilsonLinOp::derivEvenOddLinOp(multi1d<LatticeColorMatrix>& ds_u,
143 const LatticeFermion&
chi,
144 const LatticeFermion&
psi,
153 ds_u[
mu] *= Real(-0.5);
162 EvenOddPrecWilsonLinOp::derivOddEvenLinOp(multi1d<LatticeColorMatrix>& ds_u,
163 const LatticeFermion&
chi,
164 const LatticeFermion&
psi,
173 ds_u[
mu] *= Real(-0.5);
179 unsigned long EvenOddPrecWilsonLinOp::nFlops()
const
181 unsigned long cbsite_flops = 2*D.nFlops()+6*Nc*Ns;
182 return cbsite_flops*(Layout::sitesOnNode()/2);
Primary include file for CHROMA library code.
multi1d< Hadron2PtContraction_t > operator()(const multi1d< LatticeColorMatrix > &u)
Asqtad Staggered-Dirac operator.