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

Rewrite coordinates folding of virtual sites relative #4707

Merged
merged 4 commits into from
Apr 14, 2023

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Apr 13, 2023

Fixes #4703

Description of changes:

  • bugfix: virtual sites relative are now properly folded again (the regression was introduced by Simplify VS_Relative, fix VS support for Lees Edwards #4564)
  • bugfix: uninitialized virtual sites now throw a runtime error instead of implicitly tracking the particle with pid=0
  • write more thorough tests for virtual sites relative: integration through periodic boundaries, checkpointing

jngrad and others added 4 commits April 13, 2023 17:21
Particles tracked by relative virtual sites need to communicate
their image_box to ensure proper coordinates folding when the
virtual site gets the real particle information from a ghost layer.
@jngrad jngrad added this to the Espresso 4.2.1 milestone Apr 13, 2023
@jngrad jngrad marked this pull request as ready for review April 13, 2023 22:59
@jngrad jngrad requested a review from RudolfWeeber April 13, 2023 22:59
@jngrad jngrad added the automerge Merge with kodiak label Apr 14, 2023
@kodiakhq kodiakhq bot merged commit 2be59e4 into espressomd:python Apr 14, 2023
@jngrad jngrad deleted the fix-4703 branch April 14, 2023 14:22
jngrad pushed a commit to jngrad/espresso that referenced this pull request Apr 14, 2023
Fixes espressomd#4703

Description of changes:
- bugfix: virtual sites relative are now properly folded again (the regression was introduced by espressomd#4564)
- bugfix: uninitialized virtual sites now throw a runtime error instead of implicitly tracking the particle with pid=0
- write more thorough tests for virtual sites relative: integration through periodic boundaries, checkpointing
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.

Virtual sites coordinates folding breaks with periodic boundary conditions
2 participants