mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 03:54:33 +00:00 
			
		
		
		
	Dirichlet implementation
This commit is contained in:
		| @@ -92,15 +92,19 @@ WilsonFermion5D<Impl>::WilsonFermion5D(GaugeField &_Umu, | ||||
|     assert(FourDimRedBlackGrid._simd_layout[d]  ==FourDimGrid._simd_layout[d]); | ||||
|   } | ||||
|  | ||||
|   if ( p.dirichlet.size() ) { | ||||
|   if ( p.dirichlet.size() == Nd+1) { | ||||
|     Coordinate block = p.dirichlet; | ||||
|     assert(block.size()==Nd+1); | ||||
|     if ( block[0] || block[1] || block[2] || block[3] || block[4] ){ | ||||
|       Dirichlet = 1; | ||||
|       Block = block; | ||||
|     } | ||||
|   } else { | ||||
|     Coordinate block(Nd+1,0); | ||||
|     Block = block; | ||||
|   } | ||||
|    | ||||
|  | ||||
|   ZeroCounters(); | ||||
|  | ||||
|   if (Impl::LsVectorised) {  | ||||
|  | ||||
|     int nsimd = Simd::Nsimd(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user