mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Merge branch 'develop' into feature/dirichlet
This commit is contained in:
		@@ -81,8 +81,8 @@ int main (int argc, char ** argv)
 | 
			
		||||
    Vector<Coeff_t> diag = Dw.bs;
 | 
			
		||||
    Vector<Coeff_t> upper= Dw.cs;
 | 
			
		||||
    Vector<Coeff_t> lower= Dw.cs;
 | 
			
		||||
    upper[Ls-1]=-Dw.mass*upper[Ls-1];
 | 
			
		||||
    lower[0]   =-Dw.mass*lower[0];
 | 
			
		||||
    upper[Ls-1]=-Dw.mass_minus*upper[Ls-1];
 | 
			
		||||
    lower[0]   =-Dw.mass_plus*lower[0];
 | 
			
		||||
    
 | 
			
		||||
    LatticeFermion r_eo(FGrid);
 | 
			
		||||
    LatticeFermion src_e (FrbGrid);
 | 
			
		||||
 
 | 
			
		||||
@@ -44,6 +44,13 @@ void bench_wilson (
 | 
			
		||||
		   double const     volume,
 | 
			
		||||
		   int const           dag );
 | 
			
		||||
 | 
			
		||||
void bench_wilson_eo (
 | 
			
		||||
       LatticeFermion &    src,
 | 
			
		||||
       LatticeFermion & result,
 | 
			
		||||
       WilsonFermionR &     Dw,
 | 
			
		||||
       double const     volume,
 | 
			
		||||
       int const           dag );
 | 
			
		||||
 | 
			
		||||
int main (int argc, char ** argv)
 | 
			
		||||
{
 | 
			
		||||
  Grid_init(&argc,&argv);
 | 
			
		||||
@@ -110,8 +117,8 @@ int main (int argc, char ** argv)
 | 
			
		||||
	  bench_wilson(src,result,Dw,volume,DaggerYes);
 | 
			
		||||
	  std::cout << "\t";
 | 
			
		||||
    // EO
 | 
			
		||||
	  bench_wilson(src,result,Dw,volume,DaggerNo);
 | 
			
		||||
	  bench_wilson(src,result,Dw,volume,DaggerYes);
 | 
			
		||||
    bench_wilson_eo(src_o,result_e,Dw,volume,DaggerNo);
 | 
			
		||||
    bench_wilson_eo(src_o,result_e,Dw,volume,DaggerYes);
 | 
			
		||||
	  std::cout << std::endl;
 | 
			
		||||
	}
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user