-
Notifications
You must be signed in to change notification settings - Fork 467
Created variable and method for storing and retrieving the gradients … #3087
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
Conversation
…on the external point charges of the ExternalPotential.
Don't worry about the Eco/Linux error -- it's #3088 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the name change. It'd be good to have a test case, too. Do you have one in mind or do you want to add to tests/extern*/input.dat. I can advise on the next steps after.
Co-authored-by: Lori A. Burns <lori.burns@gmail.com>
Co-authored-by: Lori A. Burns <lori.burns@gmail.com>
Co-authored-by: Lori A. Burns <lori.burns@gmail.com>
To test this feature, I have been comparing the |
I see what you mean -- you'd need |
Exporting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for the contribution!
…on the external point charges of the ExternalPotential.
Description
Provides a way to get the gradient of the potential between a Wavefunction object and an ExternalPotential object on the external point charges. These gradients are collected and stored in a protected SharedMatrix object of the ExternalPotnetial during the ExternalPotential.computePotentialGradients() routine, and they are accessible through a ExternalPotential.gradient() method which is bound to a corresponding method in the Python API.
User API & Changelog headlines
Checklist
Status