-
- Downloads
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
Showing
- src/cache.h 58 additions, 6 deletionssrc/cache.h
- src/runner_doiact_vec.c 26 additions, 25 deletionssrc/runner_doiact_vec.c
- tests/test125cells.c 4 additions, 1 deletiontests/test125cells.c
- tests/testPeriodicBC.c 8 additions, 8 deletionstests/testPeriodicBC.c
- tests/tolerance_27_perturbed_h.dat 1 addition, 1 deletiontests/tolerance_27_perturbed_h.dat
- tests/tolerance_27_perturbed_h2.dat 2 additions, 2 deletionstests/tolerance_27_perturbed_h2.dat
Loading
Please register or sign in to comment