diff --git a/tests/core/Test_fft.cc b/tests/core/Test_fft.cc index 2fdaeed2..c076695d 100644 --- a/tests/core/Test_fft.cc +++ b/tests/core/Test_fft.cc @@ -46,16 +46,19 @@ int main (int argc, char ** argv) for(int d=0;d p({1,2,3,2}); @@ -72,31 +75,41 @@ int main (int argc, char ** argv) } C = exp(C*ci); - + Csav = C; S=zero; S = S+C; - FFT theFFT(&Fine); + FFT theFFT(&GRID); + + theFFT.FFT_dim(Ctilde,C,0,FFT::forward); C=Ctilde; + theFFT.FFT_dim(Ctilde,C,1,FFT::forward); C=Ctilde; std::cout << theFFT.MFlops()<<" Mflops "< seeds({1,2,3,4}); + GridParallelRNG pRNG(&GRID); + pRNG.SeedFixedIntegers(seeds); + + LatticeGaugeFieldD Umu(&GRID); + LatticeFermionD src(&GRID); gaussian(pRNG,src); + LatticeFermionD tmp(&GRID); + LatticeFermionD ref(&GRID); + + SU3::ColdConfiguration(pRNG,Umu); // Unit gauge + + RealD mass=0.1; + WilsonFermionD Dw(Umu,GRID,RBGRID,mass); + + Dw.M(src,tmp); + + std::cout << " src = " <