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

Clearer description in generated KPOINTS comment line #1842

Merged
merged 1 commit into from
May 4, 2020
Merged

Clearer description in generated KPOINTS comment line #1842

merged 1 commit into from
May 4, 2020

Conversation

Andrew-S-Rosen
Copy link
Member

@Andrew-S-Rosen Andrew-S-Rosen commented May 2, 2020

Change k-points / atom to k-points / number of atoms

Summary

As mentioned in #1841, the comment line in the Pymatgen-generated VASP KPOINTS file is somewhat misleading. This PR changes it from being # kpoints/atom to # kpoints/number of atoms in the comment line, which is also consistent with what's on the Materials Project documentation. This should make it clearer that the number of k-points would be higher for smaller systems.

Perhaps worth noting: there is still the very minor ambiguity in that pymatgen.ext.jhu takes kppra as an input argument, whereas pymatgen.io.vasp.inputs.Kpoints.automatic_density() takes kppa as an input argument, but obviously the keywords should not be adjusted, and I think the documentation for the latter (which simply states kppa = grid density) is accurate without being confusing. Therefore, I did not make any changes to the documentation.

Change k-points/atom to k-points/number of atoms
@mkhorton
Copy link
Member

mkhorton commented May 2, 2020

Thanks!

@mkhorton mkhorton merged commit 3d00d67 into materialsproject:master May 4, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants