Skip to content

Allow usage of calculate_ng with a custom ENCUT and PREC values for VASP input sets #3314

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

Merged
merged 7 commits into from
Sep 12, 2023

Conversation

matthewkuner
Copy link
Contributor

Add in new kwarg to calculate_ng to reduce redundancy with new VASP calculation validator in Emmet.

@matthewkuner matthewkuner changed the title linting Allow usage of calculate_ng with a custom encut value for VASP input sets Sep 11, 2023
@shyuep
Copy link
Member

shyuep commented Sep 11, 2023

Unit test pls. Thanks.

@matthewkuner
Copy link
Contributor Author

of course @shyuep , was already on it before your comment!

@matthewkuner matthewkuner changed the title Allow usage of calculate_ng with a custom encut value for VASP input sets Allow usage of calculate_ng with a custom ENCUT and PREC values for VASP input sets Sep 11, 2023
@matthewkuner
Copy link
Contributor Author

@shyuep ready for merging

@janosh janosh added enhancement A new feature or improvement to an existing one io Input/output functionality vasp Vienna Ab initio Simulation Package labels Sep 12, 2023
Copy link
Member

@janosh janosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @matthewkuner! 👍

@janosh janosh enabled auto-merge (squash) September 12, 2023 06:10
@janosh janosh merged commit 4be8b02 into materialsproject:master Sep 12, 2023
janosh added a commit that referenced this pull request Sep 14, 2023
… VASP input sets (#3314)

* linting

* add test

* add custom_prec kwarg to calculate_ng function

* add custom_encut, custom_prec defaults to calculate_ng doc str

* fix typo

* refactor reading PREC

* test that using custom_encut=2000 and custom_prec="NORMAL" leads to different NGX, NGY, NGZ values

---------

Co-authored-by: Janosh Riebesell <[email protected]>
@matthewkuner matthewkuner deleted the update_calculate_ng branch October 12, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement to an existing one io Input/output functionality vasp Vienna Ab initio Simulation Package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants