-
Notifications
You must be signed in to change notification settings - Fork 467
dfocc: coupled DIIS, long int, and testing #2669
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
Please request review from me once both #2663 is in and all merge conflicts are resolved. |
0862382
to
5f93077
Compare
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.
Mostly, this is great. But using new
is so old...
5f93077
to
925a84a
Compare
All fixed up after Jonathon round 1 review. |
|
No reason, I guess. Some modules used |
Sure, Edit: OTOH, as |
My one request is that variables that are obviously used for indexing/lengths be |
Just be super careful if there are any subtractions; the result of subtracting two unsigned quantities is itself unsigned and, if negative, it'll wrap around and give garbage. Therefore things like |
Ideally, I suppose, the variables should become |
After wading into |
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.
I'm not familiar with dfocc, but LGTM
Description
This is the make-dfocc-work-reliably and bring-dfocc-testing-to-normal-level step of mega-dfocc-remp. All the former by @behnle.
REVIEW COMMIT 3 ONLY I'll get the first two merged and out of the way shortly.This is PR No. 3 in the mega-dfocc-remp series.
Todos
dfocc
#2215. now dfocc can be converged tightly enough that 5-pt findif gradient matches analytic gradientcc_lambda_
now set in dfocc.cc) and uniform P::e/wfn handling of qcvarsChecklist
Status