mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +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:
		@@ -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);
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user