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

Improve pair search and cell system #4035

Merged
merged 8 commits into from
Dec 17, 2020

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Dec 10, 2020

Description of changes:

  • added a types argument to system.cell_system.get_pairs() to look only for pairs of particles with the given types
  • API change: renamed get_pairs_() to get_pairs()
  • made mutable access to the internal ParticleDecomposition private
  • avoided one particle copy when switching decomposition
  • made the Verlet lists data structure private
  • removed questionable default cutoff from short_range_loop()

@jngrad jngrad self-assigned this Dec 17, 2020
@RudolfWeeber
Copy link
Contributor

Question on skin in pair search answered in #4022.
I'll add tests on cell system switching in a separate pr

@RudolfWeeber
Copy link
Contributor

@christophlohrmann, this PR contains most of your pair search work. Once it is merged, we continue with #4022.

@RudolfWeeber RudolfWeeber added the automerge Merge with kodiak label Dec 17, 2020
@kodiakhq kodiakhq bot merged commit fd78af0 into espressomd:python Dec 17, 2020
@jngrad jngrad deleted the pair-search-and-domdec branch December 17, 2020 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants