Cleaning up ghost stencils
This commit is contained in:
@ -59,7 +59,7 @@ void NStencilBin<HALF, DIM_3D, TRI>::create()
|
||||
if (HALF && DIM_3D && (!TRI))
|
||||
if (! (k > 0 || j > 0 || (j == 0 && i > 0))) continue;
|
||||
|
||||
if (bin_distance(i,j,k) < cutneighmaxsq)
|
||||
if (bin_distance(i, j, k) < cutneighmaxsq)
|
||||
stencil[nstencil++] = k * mbiny * mbinx + j * mbinx + i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user