-
Notifications
You must be signed in to change notification settings - Fork 108
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
Refactor integrators.py to make it more general. #589
Conversation
Also add momentum update based on Esh dynamics Co-authored-by: Reuben Cohn-Gordon <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #589 +/- ##
==========================================
+ Coverage 99.14% 99.15% +0.01%
==========================================
Files 50 50
Lines 2215 2252 +37
==========================================
+ Hits 2196 2233 +37
Misses 19 19 ☔ View full report in Codecov by Sentry. |
Also add test for esh momentum update. Co-authored-by: Reuben Cohn-Gordon <[email protected]>
I'm getting changed results (on a sampling run) when I substitute in the non euclidean mclachlan instead of the previous |
Yes the two implementation returns identical result: https://colab.research.google.com/drive/1HMnkMM8PNIaaaSAmZyKrZByCd-GKErsN But to properly test it we still need to add some test:
|
Co-authored-by: Reuben Cohn-Gordon <[email protected]>
* Refactor integrators.py to make it more general. Also add momentum update based on Esh dynamics Co-authored-by: Reuben Cohn-Gordon <[email protected]> * Refactor to use integrator generation functions * Additional refactoring Also add test for esh momentum update. Co-authored-by: Reuben Cohn-Gordon <[email protected]> * Minor clean up. * Use standard JAX ops * Adding a test for energy preservation. Co-authored-by: Reuben Cohn-Gordon <[email protected]> * fix formatting --------- Co-authored-by: Reuben Cohn-Gordon <[email protected]>
Also add momentum update based on Esh dynamics
Close #587