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

Incorrect Lennard-Jones functional form #56

Open
jchodera opened this issue Nov 1, 2020 · 4 comments
Open

Incorrect Lennard-Jones functional form #56

jchodera opened this issue Nov 1, 2020 · 4 comments
Assignees
Labels
bug 🐛 Something isn't working

Comments

@jchodera
Copy link
Member

jchodera commented Nov 1, 2020

There’s a bug in the Lennard-Jones functional form here

    return epsilon * (
        coefficients[0] * sigma_over_x ** order[0]
        - coefficients[1] * sigma_over_x ** order[1]

The prefactor should be 4*epsilon, not just epsilon.
This wouldn’t impact error statistics for fitting energies, but if you’re looking at MM parameter RMSE for LJ, it would matter.
Likely does not impact any experiments you’re running now.

@jchodera jchodera added the bug 🐛 Something isn't working label Nov 1, 2020
@maxentile maxentile self-assigned this Nov 1, 2020
@maxentile
Copy link
Member

Well-spotted -- thanks for catching this!

Will fix this early next week, but I agree with assessment that this bug doesn't impact immediate results involving valence fitting.

This also suggests an issue with coverage of OpenMM consistency tests.

@yuanqing-wang
Copy link
Member

fixed in #58

@yuanqing-wang
Copy link
Member

This also suggests an issue with coverage of OpenMM consistency tests.

we have yet to figure out how to turn on/off the exceptions in OpenMM energies. so we're not doing nonbonded tests

@jchodera
Copy link
Member Author

jchodera commented Nov 1, 2020

we have yet to figure out how to turn on/off the exceptions in OpenMM energies. so we're not doing nonbonded tests

I'm not quite sure I understand, but let me know what you are looking to do here and I can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants