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

Reduce memory usage in egbond_hb for GFN-FF #994

Merged
merged 8 commits into from
Mar 21, 2024
Merged

Conversation

Thomas3R
Copy link
Contributor

The matrix considered_ABH(n,n,n) allocation used in the HB scaled bond energy was unnecessarily large. I introduced a mapping from the atom index to the hb index for AB atoms and H atoms separately. Since this is done in the initialization of the force field, the new variables need to be part of the topology as well.

@Thomas3R Thomas3R requested a review from Albkat March 14, 2024 15:06
Copy link
Contributor

@Albkat Albkat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sharing! LGTM.

@Albkat Albkat merged commit 8e9a8ea into grimme-lab:main Mar 21, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants