#include namespace Grid { namespace QCD { CayleyFermion5D::CayleyFermion5D(LatticeGaugeField &_Umu, GridCartesian &FiveDimGrid, GridRedBlackCartesian &FiveDimRedBlackGrid, GridCartesian &FourDimGrid, GridRedBlackCartesian &FourDimRedBlackGrid, RealD _mass,RealD _M5) : WilsonFermion5D(_Umu, FiveDimGrid, FiveDimRedBlackGrid, FourDimGrid, FourDimRedBlackGrid,_M5), mass(_mass) { std::cout << "Constructing a CayleyFermion5D"< D1+^dag P+ D2-^dag //D2- P+ D2+ P-D1-^dag D2+dag LatticeFermion Din(psi._grid); // Apply Dw DW(psi,Din,DaggerYes); for(int s=0;s=0;s--){ axpby_ssp_pminus (chi,1.0,chi,-uee[s],chi,s,s+1); // chi[Ls] } } void CayleyFermion5D::MooeeInvDag (const LatticeFermion &psi, LatticeFermion &chi) { // Apply (U^{\prime})^{-dagger} axpby_ssp (chi,1.0,psi, 0.0,psi,0,0); // chi[0]=psi[0] for (int s=1;s=0;s--){ axpby_ssp_pplus (chi,1.0,chi,-lee[s],chi,s,s+1); // chi[Ls] } } } }