-
Notifications
You must be signed in to change notification settings - Fork 68
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
Energy jump when bond_graph_len becomes zero #79
Comments
Closed by 1a558ea. |
Additional notes for users concerned about this issue: The discontinuity in the potential energy surface will only appear when a structure with a zero bond graph—meaning there are no paired atoms within 3 Å—transforms into a state with a non-zero bond graph (at least one pair of atoms within 3 Å). This is particularly the case when applying strain to an AgBr structure. In general, especially during molecular dynamics simulations, it is highly unlikely to encounter structures with zero pairs within 3 Å. Therefore, even CHGNet versions <= 0.2.1 should work without issues for most use cases. |
This issue is now fully resolved: v0.3.0 |
Version
0.2.1
Which OS(es) are you using?
What happened?
When I compute the energy for a series of strained structures using CHGNet, I get a jump in the energy (and stress) when no edges remain in the bond graph (i.e., every pair of atoms is 3.0 A apart). This occurs silently, and I'm expecting the energy/stress to be smooth when the edges are broken. Am I missing something, or is there something wrong here?
Code snippet
Log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: