Skip to content
Snippets Groups Projects
Commit 8a4a38b0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'fix_pairs' into 'master'

Patch vectorised pair interactions

Implements small optimisations to `runner_dopair1_density_vec` suggested in #354:
 - Break out of the loop checking for active particles if the cell itself is inactive
 - Do the calculation in the frame of `cj` and not `ci` since this is where the shift vector brings us.
 - Correctly apply the rshift value on the axis linking cells.

See merge request !407
parents bbca0e51 9b69b779
Branches
Tags
1 merge request!407Patch vecorised pair interactions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment