fixed zobov bug which mis-aligned tracers and guard particles when only using one subdivision (it actually affected all cases but only caused issues here)

This commit is contained in:
Paul M. Sutter 2025-05-22 18:41:15 -04:00
parent b78ff2bd52
commit 1196294b5d

View file

@ -118,7 +118,7 @@ int main(int argc, char *argv[]) {
exit(1);
}
DL c[d] = ((float)b[d])*width;
DL c[d] = ((float)b[d]+0.5)*width;
printf("c: %f,%f,%f\n",c[0],c[1],c[2]);
/* Assign temporary array*/
nvpbuf = 0; /* Number of particles to tesselate, including