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

Set imaginary part of stochastic QED field to zero after FFT into position space

This commit is contained in:
James Harrison 2016-11-14 17:59:02 +00:00
parent 75bbf6a0af
commit 92ec3404f8

View File

@ -172,6 +172,8 @@ namespace QCD{
pokeLorentz(aTilde, r, mu); pokeLorentz(aTilde, r, mu);
} }
fft.FFT_all_dim(out, aTilde, FFT::backward); fft.FFT_all_dim(out, aTilde, FFT::backward);
out = 0.5*(out + conjugate(out));
} }
// template<class Gimpl> // template<class Gimpl>
// void Photon<Gimpl>::FeynmanGaugeMomentumSpacePropagator_L(GaugeField &out, // void Photon<Gimpl>::FeynmanGaugeMomentumSpacePropagator_L(GaugeField &out,