8 using namespace QDP::Hints;
21 const Real& WilsonMass_,
const Real& m_q_,
int N5_)
23 WilsonMass = WilsonMass_;
42 const multi1d<LatticeFermion>&
psi,
52 Real fact1 =
a5*(
Nd - WilsonMass);
57 LatticeFermion tmp1,
tmp2;
58 moveToFastMemoryHint(tmp1);
59 moveToFastMemoryHint(
tmp2);
61 for(
int n=0;
n <
N5; ++
n)
65 tmp1 =
psi[
n] - m_q*chiralProjectPlus(
psi[
N5-1]) + chiralProjectMinus(
psi[1]);
68 + m_q*chiralProjectPlus(
psi[
N5-1]) - chiralProjectMinus(
psi[1]);
72 tmp1 =
psi[
n] + chiralProjectPlus(
psi[
N5-2]) - m_q*chiralProjectMinus(
psi[0]);
75 - chiralProjectPlus(
psi[
N5-2]) + m_q*chiralProjectMinus(
psi[0]);
79 tmp1 =
psi[
n] + chiralProjectPlus(
psi[
n-1]) + chiralProjectMinus(
psi[
n+1]);
82 - chiralProjectPlus(
psi[
n-1]) - chiralProjectMinus(
psi[
n+1]);
88 multi1d<LatticeFermion>
tmp(
N5);
90 moveToFastMemoryHint(
tmp);
91 moveToFastMemoryHint(tmp1);
93 for(
int n=0;
n <
N5; ++
n)
99 for(
int n=0;
n <
N5; ++
n)
103 chi[0] =
tmp[0] +
psi[0] + chiralProjectPlus(
tmp[1]) - chiralProjectPlus(
psi[1])
104 - m_q*(chiralProjectMinus(
tmp[
N5-1]) - chiralProjectMinus(
psi[
N5-1]));
109 - m_q*(chiralProjectPlus(
tmp[0]) - chiralProjectPlus(
psi[0]));
114 + chiralProjectPlus(
tmp[
n+1]) - chiralProjectPlus(
psi[
n+1]);
119 getFermBC().modifyF(
chi);
126 UnprecOvDWLinOpArray::Dminus(LatticeFermion&
chi,
127 const LatticeFermion&
psi,
131 LatticeFermion tt ; moveToFastMemoryHint(tt);
134 chi = (1.0 - (
Nd-WilsonMass))*
psi +0.5*tt ;
Primary include file for CHROMA library code.
Support class for fermion actions and linear operators.
Class for counted reference semantics.
multi1d< Hadron2PtContraction_t > operator()(const multi1d< LatticeColorMatrix > &u)
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Unpreconditioned Overlap-DWF (Borici) linear operator.