1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

MSource::Convolution use type PropagatorField

This commit is contained in:
Nils Asmussen 2019-05-24 16:07:08 +01:00
parent ab2e5f88cd
commit 6b27369ade

View File

@ -71,7 +71,7 @@ std::vector<std::string> TConvolution<FImpl>::getOutput(void)
template <typename FImpl>
void TConvolution<FImpl>::setup(void)
{
envCreateLat(LatticeFermion, getName());
envCreateLat(PropagatorField, getName());
envTmpLat(LatticeComplex, "momfield1");
envTmp(FFT, "fft", 1, env().getGrid());
}
@ -81,8 +81,8 @@ template <typename FImpl>
void TConvolution<FImpl>::execute(void)
{
auto &field1 = envGet(LatticeComplex, par().field1);
auto &field2 = envGet(LatticeFermion, par().field2);
auto &out = envGet(LatticeFermion, getName());
auto &field2 = envGet(PropagatorField, par().field2);
auto &out = envGet(PropagatorField, getName());
envGetTmp(LatticeComplex, momfield1);
envGetTmp(FFT, fft);