-
Notifications
You must be signed in to change notification settings - Fork 871
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
Add VASP setting for the dftd4 vdW functional and extend PBE_64 support. #3967
Add VASP setting for the dftd4 vdW functional and extend PBE_64 support. #3967
Conversation
- Add IVDW: 13 for dftd4 in vdW_parameters.yaml - Support PBE_64 functional in MPScanRelaxSet, MVLRelax52Set, MVLScanRelaxSet, and LobsterSet - Update documentation and error messages to include PBE_64 - Add warning for LobsterSet when using PBE_64 POTCARs with PBE_54 basis functions - Update relevant test cases to accommodate PBE_64 support
I've installed the dev and optional dependencies per the guidance here. There were no problems with my local pre-commit and pytest checks. So, I don't know why the PR failed to pass some of the tests. |
src/pymatgen/io/vasp/sets.py
Outdated
|
||
def __post_init__(self) -> None: | ||
super().__post_init__() | ||
warnings.warn("Make sure that all parameters are okay! This is a brand new implementation.") | ||
|
||
if self.user_potcar_functional == "PBE_64": |
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.
if self.user_potcar_functional == "PBE_64": | |
if self.user_potcar_functional == "PBE_64": |
Could you add PBE_52 here as well? Thanks!
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.
Done. Thank you for reminding me.
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.
could you resolve the merge conflicts? sets.py
is now split into submodules so it's a matter of re-applying your changes to the right 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.
Currently, this has been reverted by #3989.
And, @hongyi-zhao , thank you! |
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.
From my side, the changes are fine
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.
looks good! thanks @hongyi-zhao 👍
e3fbc67
to
41e6d99
Compare
There seems to be some conflicts that need to be resolved first. |
@shyuep Done. |
dcddc12
to
0a3359b
Compare
This is an enhancement and re-implementation of #3899 and the PRs suggested to include in it.
Add VASP setting for the dftd4 vdW functional and extend
PBE_64
support:IVDW: 13
for dftd4 invdW_parameters.yaml
PBE_64
functional inMPScanRelaxSet
,MVLRelax52Set
,MVLScanRelaxSet
, andLobsterSet
PBE_64
LobsterSet
when usingPBE_52
andPBE_64
POTCARs withPBE_54
basis functionsPBE_64
support