update to disc packing preprocessor
This commit is contained in:
parent
a47e3a3d89
commit
eb595d0ec8
@ -92,6 +92,7 @@ inline void SignedDistanceDiscPack(double *Distance, int ndiscs, double *List_cx
|
||||
imin = int ((cx-2*r)/hx);
|
||||
imax = int ((cx+2*r)/hx)+2;
|
||||
jmin = int ((cy-2*r)/hy);
|
||||
jmax = int ((cy+2*r)/hy)+2;
|
||||
|
||||
// Obviously we have to do something at the edges
|
||||
if (imin<0) imin = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user