-
Notifications
You must be signed in to change notification settings - Fork 132
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
Wang frenkel #1970
Draft
MartinGirard
wants to merge
13
commits into
glotzerlab:trunk-minor
Choose a base branch
from
MartinGirard:WangFrenkel
base: trunk-minor
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Wang frenkel #1970
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps the actions-version group with 2 updates: [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `mamba-org/setup-micromamba` from 2.0.0 to 2.0.2 - [Release notes](https://github.com/mamba-org/setup-micromamba/releases) - [Commits](mamba-org/setup-micromamba@617811f...06375d8) Updates `softprops/action-gh-release` from 2.0.9 to 2.1.0 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@e7a8f85...01570a1) --- updated-dependencies: - dependency-name: mamba-org/setup-micromamba dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-version - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-version ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the pip-version group with 2 updates: [ipython](https://github.com/ipython/ipython) and [numpy](https://github.com/numpy/numpy). Updates `ipython` from 8.29.0 to 8.30.0 - [Release notes](https://github.com/ipython/ipython/releases) - [Commits](ipython/ipython@8.29.0...8.30.0) Updates `numpy` from 2.1.2 to 2.1.3 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v2.1.2...v2.1.3) --- updated-dependencies: - dependency-name: ipython dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-version - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip-version ... Signed-off-by: dependabot[bot] <[email protected]>
…actions-trunk-patch-actions-version-bfa42ab09b Bump the actions-version group with 2 updates
…nk-patch-pip-version-d90aa5e57e Bump the pip-version group with 2 updates
Fix NEC integrators
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This draft PR would add the Wang-Frenkel potential to hoomd (equation (2) in Wang & Frenkel, https://pubs.rsc.org/en/content/articlelanding/2020/cp/c9cp05445f).
Motivation and context
This is largely motivated by coarse-grained IDP models, specifically by MPIPI (https://www.nature.com/articles/s43588-021-00155-3), which uses this type of potential.
How has this been tested?
This is work in progress, unit tests will be added to hoomd. At the time of writing this draft PR, I would want some feedback on the implementation. Specifically, in eq (2) of Wang et al, the cutoff radius appears in the potential. I have chosen to change "r_c" there by an adjustable parameter, and remove "alpha".
This is driven by performance considerations. Using the cutoff value at runtime would require computing an extra power, which is usually expansive (log + exp).
An alternative is to enforce exponents to be half integers (>= 1/2), which suits my needs and considerably simplify calculations. The other available implementation (lammps) uses a similar restriction.
Checklist:
sphinx-doc/credits.rst
) in the pull request source branch.CHANGELOG.rst
following the established format.