Merged in fixZobov (pull request #10)

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-24 13:34:41 +00:00
commit dfc6f18413

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