Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New neighborhood code #2314

Merged
merged 9 commits into from
Aug 27, 2024
Merged

New neighborhood code #2314

merged 9 commits into from
Aug 27, 2024

Conversation

akenmorris
Copy link
Contributor

@akenmorris akenmorris commented Aug 26, 2024

This PR replaces the ParticleNeighborhood classes and PowerOfTwoPointTree with a much simpler and faster design.

This provides speedups of up to 5-10%

I had to relax some of the testing numbers because the changed order of neighbors caused a numerical difference.  I was able to reproduce the exact same values by adding a neighbor order sort to the master branch, so they are different, but equivalent.  Order of neighbors is arbitrary.
@akenmorris akenmorris merged commit 1aab227 into master Aug 27, 2024
5 checks passed
@akenmorris akenmorris deleted the new_neighborhood branch August 27, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant