From cb9a297a0ae7b3bb5d84b5cd415149603eba5f9d Mon Sep 17 00:00:00 2001 From: paboyle Date: Thu, 30 Mar 2017 13:30:25 +0900 Subject: [PATCH] Chulwoo's Zmobius test --- tests/solver/Test_zmobius_cg_prec.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/solver/Test_zmobius_cg_prec.cc b/tests/solver/Test_zmobius_cg_prec.cc index c66b6246..4ae98d71 100644 --- a/tests/solver/Test_zmobius_cg_prec.cc +++ b/tests/solver/Test_zmobius_cg_prec.cc @@ -81,10 +81,12 @@ int main(int argc, char** argv) { RealD M5 = 1.8; std::vector < std::complex > omegas; for(int i=0;i temp (0.25+0.00*i, 0.0+0.00*i); - omegas.push_back(temp); + double imag = 0.; + if (i==0) imag=1.; + if (i==Ls-1) imag=-1.; + std::complex temp (0.25+0.01*i, imag*0.01); + omegas.push_back(temp); } -// DomainWallFermionR Ddwf(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mass, M5); ZMobiusFermionR Ddwf(Umu, *FGrid, *FrbGrid, *UGrid, *UrbGrid, mass, M5, omegas,1.,0.); LatticeFermion src_o(FrbGrid);