I am a numerical physicist, and I've seen some simulation codes in my community which use a 3D simulation box with a center in [0.5, 0.5, 0.5]
and a normalized length of 1
(so the box coordinates goes from 0.
to 1.
). In this box a lot of physical computations are performed and generally the best possible precision is required.
I think that doing a such thing can be viewed as a defect, but I would like to have the confirmation of that. I tends to think this is a defect, because as we have more numerical precision near 0.
, the numerical accuracy is not well balanced in the whole box.
To have a good balance I think that such a box :
- should be centered around
0.
(going from-0.5
to0.5
) if one wants a symmetric accuracy around the center of the box - should be centered around
1.5
(going from1.
to2.
) if one wants a quasi-homogeneous accuracy in the entire box
Am I correct or completely wrong ?