Cleaning up ghost stencils

This commit is contained in:
jtclemm
2023-10-24 13:55:43 -06:00
parent 0f94e6030f
commit 8f14cdcb34
6 changed files with 27 additions and 111 deletions

View File

@ -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;
}
}