-
Notifications
You must be signed in to change notification settings - Fork 142
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
MSD arbitrary species evaluation (1/N) #2947
Conversation
Remove laplSum_up/dn
Can one of the admins verify this patch? |
OK to test |
Thanks Shiv! |
This should largely address the problems in #2698. However, for full functionality we would need the orbital optimization to work as well. Changes will be needed in MultiDiracDeterminant as well as RotatedSPOs (essentially the problem is evaluateDerivatives and evaluateDerivativesWF which have hard coded dependencies on there being "alpha" and "beta" information passed into the functions) |
I am not sure why some of the builds are failing. It looks like the jobs weren't able to check out the branch
Did I break this? |
This is a transient problem on checkout. You didn't do anything to break it. |
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.
Great improvements.
Test this please |
Hi I'm not ignoring this just busy with some other tasks. I should get to this within a day or two |
} | ||
ValueType dhpsi = (RealType)-0.5 * (q0 - dlogpsi[kk] * lapl_sum) - dlogpsi[kk] * gg; | ||
for (size_t id = 0; id < Dets.size(); id++) | ||
{ |
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.
Remove {}
Sorry about that I had missed some of your comments. I updated the remaining issues. I also did some additional cleaning. @ye-luo |
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 now. Please address the last few minor change requests and remove WIP if you think it is ready for merging.
Thanks for the review! I updated it. Should be good to go now |
Proposed changes
This PR generalizes the functions in
MultiSlaterDeterminantFast
to work with an arbitrary number of particle types. This lifts the previous restriction of alpha/beta electrons. This is related to #2935.What type(s) of changes does this code introduce?
Does this introduce a breaking change?
What systems has this change been tested on?
Workstation Ryzen 5900x/ GCC 10.2 Real build
Checklist
In future PR(s), further generalization is necessary. This involves most of what needs to be touched in
MultiSlaterDeterminantFast.*
so I am opening this for review.