Skip to content
Snippets Groups Projects

Fix to old box wrapping error due to rounding

Merged Matthieu Schaller requested to merge box_wrap_rounding into master

In space_parts_get_cell_index_mapper() and friends, add an additional check that a particle has not been wrapped back onto the exact edge of the box due to rounding differences between the region around 0 and the region around space->dim.

Fixes #665 (closed), #638 (closed), #591 (closed) by using the suggestion of @d74ksy in #591 (closed) and tested by @jch in #665 (closed).

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading