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

Energy Difference #18

Open
cortner opened this issue May 23, 2024 · 0 comments
Open

Energy Difference #18

cortner opened this issue May 23, 2024 · 0 comments

Comments

@cortner
Copy link
Member

cortner commented May 23, 2024

I suggest to add an interface for energy_difference(sys1, sys2).

For very large systems computing an energy-difference can be problematic due to roundoff errors. This arises in particular during Geometry optimization - linesearches then just tend to fail even if progress is being made. In JuLIP I had an energy difference that had a fall-back to just "energy minus energy" but for special potentials one could do something cleverer. Even summing the site energy differences is sometimes significantly more robust than the difference of the energies.

Maybe not a high priority, but I wanted to make a note.

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