mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-27 14:15:55 +01:00
Dirichlet fix
This commit is contained in:
parent
501bb117bf
commit
fdef7a1a8c
@ -92,6 +92,15 @@ WilsonFermion5D<Impl>::WilsonFermion5D(GaugeField &_Umu,
|
|||||||
assert(FourDimRedBlackGrid._simd_layout[d] ==FourDimGrid._simd_layout[d]);
|
assert(FourDimRedBlackGrid._simd_layout[d] ==FourDimGrid._simd_layout[d]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( p.dirichlet.size() ) {
|
||||||
|
Coordinate block = p.dirichlet;
|
||||||
|
assert(block.size()==Nd+1);
|
||||||
|
if ( block[0] || block[1] || block[2] || block[3] || block[4] ){
|
||||||
|
Dirichlet = 1;
|
||||||
|
Block = block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Impl::LsVectorised) {
|
if (Impl::LsVectorised) {
|
||||||
|
|
||||||
int nsimd = Simd::Nsimd();
|
int nsimd = Simd::Nsimd();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user