1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-15 02:05:37 +00:00

zmobius Meooe5D fixed?

This commit is contained in:
Chulwoo Jung 2017-03-28 03:48:50 -04:00
parent 6aa106d906
commit e63be32ad2

View File

@ -215,8 +215,14 @@ void CayleyFermion5D<Impl>::MeooeDag5D (const FermionField &psi, FermionField
std::vector<Coeff_t> diag =bs; std::vector<Coeff_t> diag =bs;
std::vector<Coeff_t> upper=cs; std::vector<Coeff_t> upper=cs;
std::vector<Coeff_t> lower=cs; std::vector<Coeff_t> lower=cs;
upper[Ls-1]=-mass*upper[Ls-1]; for(int i=0;i<(Ls-1);i++){
lower[0] =-mass*lower[0]; diag[i] = conjugate(bs[i]);
upper[i] = conjugate(cs[i+1]);
lower[i+1] = conjugate(cs[i]);
}
diag[Ls-1]=conjugate(bs[Ls-1]);
upper[Ls-1]=-mass*conjugate(cs[0]);
lower[0] =-mass*conjugate(cs[Ls-1]);
M5Ddag(psi,psi,Din,lower,diag,upper); M5Ddag(psi,psi,Din,lower,diag,upper);
} }