mirror of
https://github.com/paboyle/Grid.git
synced 2024-12-23 19:35:26 +00:00
QedFVol: set infinite-volume photon propagator to 1 at x=0,
so that momentum-spage photon propagator is non-negative. Need to check whether this is sufficient for all volumes.
This commit is contained in:
parent
724cf02d4a
commit
4680a977c3
@ -109,7 +109,7 @@ namespace QCD{
|
||||
std::vector<int> &l = grid->_fdimensions;
|
||||
std::vector<int> x0(nd,0);
|
||||
TComplex Tone = Complex(1.0,0.0);
|
||||
TComplex Tzero = Complex(0.0,0.0);
|
||||
// TComplex Tzero = Complex(0.0,0.0);
|
||||
FFT fft(grid);
|
||||
|
||||
one = Complex(1.0,0.0);
|
||||
@ -122,7 +122,7 @@ namespace QCD{
|
||||
}
|
||||
pokeSite(Tone, out, x0);
|
||||
out = one/out;
|
||||
pokeSite(Tzero, out, x0);
|
||||
// pokeSite(Tzero, out, x0);
|
||||
fft.FFT_all_dim(out, out, FFT::forward);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user