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

What is maxHKLindex() doing? Implications for reading wavefunction files #162

Open
brainandforce opened this issue May 16, 2023 · 1 comment
Assignees

Comments

@brainandforce
Copy link
Owner

This function is critical to the implementation of readWAVECAR() and was adapted from some of the WaveTrans code, but I honestly can't be sure what it's actually doing.

From what I understand, the energy cutoff defines the maximum length of reciprocal lattice vectors G, because if Ecut = ħ^2 / 2*m_e * dot(G, G), and in Hartree atomic units, ħ^2 / 2*m_e == 1/2, then norm(G) == sqrt(2*Ecut). However, I don't think my attempts to implement a function to calculate this value correspond with those given by maxHKLindex(). I highly doubt it's VASP code that has the correctness issue, so I'd like others to assist me with this if possible.

@brainandforce
Copy link
Owner Author

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

5 participants