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

Enforce consistency between CG table potentials and cut off values #77

Open
chrisjonesBSU opened this issue Jun 8, 2022 · 0 comments
Open

Comments

@chrisjonesBSU
Copy link
Member

chrisjonesBSU commented Jun 8, 2022

Hoomd table potentials only take an r_min and an r_max (r_cut), and split the entire arrays provided for energy and force between them, so we need to make sure that the potential files are being sliced according to the r_cut used in the simulation. The table potentials (derived in MSIBI) might go out to r values larger than we may want to use in the sim, so we can't just pass in the whole column from these files (which is the current behavior).

Performing some array slicing in _create_hoomd_sim_from_snapshot should solve this issue.

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

No branches or pull requests

1 participant