1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-07 08:57:06 +01:00

MSource::Gauss and MSource::Convolution: change LatticeComplex to ComplexField

This commit is contained in:
2019-05-29 16:25:45 +01:00
parent 0b3f40ce16
commit de1a1dccb3
2 changed files with 8 additions and 7 deletions

View File

@ -84,7 +84,7 @@ void TConvolution<FImpl>::setup(void)
}
envCreateLat(PropagatorField, getName());
envTmpLat(LatticeComplex, "momfield1");
envTmpLat(ComplexField, "momfield1");
envTmp(FFT, "fft", 1, env().getGrid());
}
@ -92,10 +92,10 @@ void TConvolution<FImpl>::setup(void)
template <typename FImpl>
void TConvolution<FImpl>::execute(void)
{
auto &field1 = envGet(LatticeComplex, par().field1);
auto &field1 = envGet(ComplexField, par().field1);
auto &field2 = envGet(PropagatorField, par().field2);
auto &out = envGet(PropagatorField, getName());
envGetTmp(LatticeComplex, momfield1);
envGetTmp(ComplexField, momfield1);
envGetTmp(FFT, fft);
std::vector<int> mask(env().getNd(), 1);