Skip to content
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

VASP RunType is missing PBE_64/LDA_64 #1101

Open
janosh opened this issue Sep 16, 2024 · 3 comments
Open

VASP RunType is missing PBE_64/LDA_64 #1101

janosh opened this issue Sep 16, 2024 · 3 comments

Comments

@janosh
Copy link
Member

janosh commented Sep 16, 2024

class RunType(ValueEnum):
"""VASP calculation run types."""
AM05 = "AM05"
GGA = "GGA"
PBE = "PBE"
PBESol = "PBESol"
RevPBE_PADE = "RevPBE+PADE"
optB86b = "optB86b"
optB88 = "optB88"
optPBE = "optPBE"
revPBE = "revPBE"

tagging @esoteric-ephemera @tsmathis

@janosh
Copy link
Member Author

janosh commented Sep 16, 2024

nvm, just realized PBE_54 also doesn't exist. maybe it makes more sense to add a PotcarVersion enum to pymatgen then? specifically src/pymatgen/io/vasp/inputs.py. e.g.

@unique
class PotcarVersion(Enum):
    """Enum type for POTCAR versions."""

    PBE_52 = "PBE_52"
    PBE_52_W_HASH = "PBE_52_W_HASH"
    PBE_54 = "PBE_54"
    PBE_54_W_HASH = "PBE_54_W_HASH"
    PBE_64 = "PBE_64"
    LDA_52 = "LDA_52"
    LDA_52_W_HASH = "LDA_52_W_HASH"
    LDA_54 = "LDA_54"
    LDA_54_W_HASH = "LDA_54_W_HASH"
    LDA_64 = "LDA_64"
    PW91 = "PW91"
    LDA_US = "LDA_US"
    PW91_US = "PW91_US"
    Perdew_Zunger81 = "Perdew_Zunger81"

could someone migrate this issue over to pymatgen unless there are other suggestions?

@esoteric-ephemera
Copy link
Collaborator

@janosh you may be misunderstanding the RunType enum: it's the functional used, not the pseudopotential type. That being said, it would be better for pymatgen to differentiate between the POTCAR versions used in the Potcar object, see related pymatgen issue here

Would be happy to do this on the pymatgen side

@janosh
Copy link
Member Author

janosh commented Sep 18, 2024

That being said, it would be better for pymatgen to differentiate between the POTCAR versions used in the Potcar object

yeah exactly, i think having such an Enum would allow bringing clarity to the variety and subtle differences between POTCAR versions.

Would be happy to do this on the pymatgen side

that would be much appreciated! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants