-
Notifications
You must be signed in to change notification settings - Fork 27
Pseudopotentials and numeric orbitals for initial guess #502
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
base: master
Are you sure you want to change the base?
Pseudopotentials and numeric orbitals for initial guess #502
Conversation
Thanks for testing this! |
|
@ilfreddy @gitpeterwind we tested the rebased version of the pseudopotential implementation and the results are now consistent with our previous tests. So it is ready from my side. |
src/initial_guess/nao.h
Outdated
| #include "qmfunctions/qmfunction_fwd.h" | ||
| #include <string> | ||
|
|
||
| /** @file sad.h |
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.
sad?
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.
fixed
src/pseudopotential/PPNucleus.h
Outdated
| return result; | ||
| } | ||
|
|
||
| // I had to implement this functions, thez return not meaningful values. |
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.
Do they have t have a return value if it is not meaningful?
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.
Yes, because the interface demands that I implement it. added a more comprehensive docstring
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.
There is basically no documentation in this file
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.
Now there is:)
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.
We had a discussion about documentation at a group meeting in the fall and we agreed that all documentation, should generally go in the header files. In the implementation files, one should add documentation if the implementation of a particular routine/method is difficult to understand just by looking at the code.
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.
Docs are now in header file
|
I believe this can basically go. It lacks a bit of documentation, and in some cases the documentation should be moved to the header files. This was discussed in a group meeting here in Tromsø and the majority was for documenting header files. |
|
Thanks for keeping this up-to-date @moritzgubler (I know it is a lot of work!). There is one more PR in the pipeline (#481 from @msnik1999). As soon as that one goes in, yours is next! |
|
No worries, I am working on integrating your feedback now. |
Converted to draft! Just remove the flag as soon as you are done 😃 |
|
@ilfreddy @gitpeterwind The energies from the na_pp test have changed, I guess because of #532 Do you expect changes of this magnitude? |
|
I believe this is now good to go. Any reason why you marked it as draft again? |
|
I wanted to add a manual. Now it's ready again from my side |
This branch implements GTH pseudopotentials with non linear core correction.
We had to implement a new initial guess mechanism that uses numeric atom centered orbitals to start pseudopotential calculations. It also works for all electron calculations.
Let me know if you are interested in merging these features, then I will clean up everything and add some more rigorous testing.
At the moment only OMP is tested, I never checked the results obtained with MPI.