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

core: Consider rotational kinetic energy of virtual particles. #4198

Merged
merged 4 commits into from
Apr 9, 2021
Merged

core: Consider rotational kinetic energy of virtual particles. #4198

merged 4 commits into from
Apr 9, 2021

Conversation

fweik
Copy link
Contributor

@fweik fweik commented Apr 3, 2021

Fixes #3596.

This is a fix closest to the existing behavior. I think there should be a discussion here how
to handle active/inactive degrees of freedom, and if this should be consistent between
translation and rotation, and how it should interact with the virtual sites relative feature.

Description of changes:

  • Don't drop rotational kinetic energy of virtual particles.

@fweik fweik marked this pull request as draft April 3, 2021 10:44
@RudolfWeeber
Copy link
Contributor

RudolfWeeber commented Apr 3, 2021 via email

@fweik
Copy link
Contributor Author

fweik commented Apr 3, 2021

In my mind, in an ideal world you'd be able to add or remove degrees of freedom to a particle/point, and they would themselves know how they are propagated and what their energy/momentum contribution is. But probably such a fundamental design change will be hard to pull of, so I think what you are proposing is a reasonable direction. We should discuss beforehand who (in terms of components) should be responsible for that, and which choices yield that best separation of concerns, given the circumstances.

@fweik fweik marked this pull request as ready for review April 3, 2021 11:58
KaiSzuttor
KaiSzuttor previously approved these changes Apr 8, 2021
@KaiSzuttor KaiSzuttor added the automerge Merge with kodiak label Apr 8, 2021
@kodiakhq kodiakhq bot removed the automerge Merge with kodiak label Apr 8, 2021
@kodiakhq
Copy link
Contributor

kodiakhq bot commented Apr 8, 2021

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@KaiSzuttor KaiSzuttor added the automerge Merge with kodiak label Apr 8, 2021
@kodiakhq kodiakhq bot merged commit 3696a36 into espressomd:python Apr 9, 2021
@fweik fweik deleted the kinetic branch April 9, 2021 12:54
@jngrad jngrad added this to the Espresso 4.2 milestone May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rotational degrees of virtual sites do not contribute to kinetic energy
4 participants