Correct wrapping of particles

Matthieu Schaller requested to merge spurious_hydro_shock into master

This fixes the issue discussed last Friday. In summary:

  • Box-wrapping should occur for [0, box_size[ and not [0, box_size].
  • The splitting of cells should obey the same interval rules.

This solves part of the bugs found by @bvandenbroucke.

Merge request reports