1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

FermToProp

This commit is contained in:
Peter Boyle 2022-11-30 15:36:35 -05:00
parent e13930c8b2
commit 97a098636d

View File

@ -463,7 +463,7 @@ void FermToProp(typename Fimpl::PropagatorField &p, const typename Fimpl::Fermio
for(int cc = 0; cc < Fimpl::Dimension; ++cc) { for(int cc = 0; cc < Fimpl::Dimension; ++cc) {
p_v[idx]()(ss,s)(cc,c) = f_v[idx]()(ss)(cc); // Propagator sink index is LEFT, suitable for left mult by gauge link (e.g.) p_v[idx]()(ss,s)(cc,c) = f_v[idx]()(ss)(cc); // Propagator sink index is LEFT, suitable for left mult by gauge link (e.g.)
}} }}
); });
#else #else
for(int j = 0; j < Ns; ++j) for(int j = 0; j < Ns; ++j)
{ {
@ -491,7 +491,7 @@ void PropToFerm(typename Fimpl::FermionField &f, const typename Fimpl::Propagato
for(int cc = 0; cc < Fimpl::Dimension; ++cc) { for(int cc = 0; cc < Fimpl::Dimension; ++cc) {
f_v[idx]()(ss)(cc) = p_v[idx]()(ss,s)(cc,c); // LEFT index is copied across for s,c right index f_v[idx]()(ss)(cc) = p_v[idx]()(ss,s)(cc,c); // LEFT index is copied across for s,c right index
}} }}
); });
#else #else
for(int j = 0; j < Ns; ++j) for(int j = 0; j < Ns; ++j)
{ {