mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 05:30:46 +01:00
MSource::Convolution use type PropagatorField
This commit is contained in:
parent
ab2e5f88cd
commit
6b27369ade
@ -71,7 +71,7 @@ std::vector<std::string> TConvolution<FImpl>::getOutput(void)
|
|||||||
template <typename FImpl>
|
template <typename FImpl>
|
||||||
void TConvolution<FImpl>::setup(void)
|
void TConvolution<FImpl>::setup(void)
|
||||||
{
|
{
|
||||||
envCreateLat(LatticeFermion, getName());
|
envCreateLat(PropagatorField, getName());
|
||||||
envTmpLat(LatticeComplex, "momfield1");
|
envTmpLat(LatticeComplex, "momfield1");
|
||||||
envTmp(FFT, "fft", 1, env().getGrid());
|
envTmp(FFT, "fft", 1, env().getGrid());
|
||||||
}
|
}
|
||||||
@ -81,8 +81,8 @@ template <typename FImpl>
|
|||||||
void TConvolution<FImpl>::execute(void)
|
void TConvolution<FImpl>::execute(void)
|
||||||
{
|
{
|
||||||
auto &field1 = envGet(LatticeComplex, par().field1);
|
auto &field1 = envGet(LatticeComplex, par().field1);
|
||||||
auto &field2 = envGet(LatticeFermion, par().field2);
|
auto &field2 = envGet(PropagatorField, par().field2);
|
||||||
auto &out = envGet(LatticeFermion, getName());
|
auto &out = envGet(PropagatorField, getName());
|
||||||
envGetTmp(LatticeComplex, momfield1);
|
envGetTmp(LatticeComplex, momfield1);
|
||||||
envGetTmp(FFT, fft);
|
envGetTmp(FFT, fft);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user