-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Changes in b vector order #538
Comments
Yes. Since translation invariance and Stengel-Spaldin functional both sum over k-points before b vectors, the order of b vectors should be the same for all k-points. Thus, I added the kmesh_sort subroutine, and the b vector order in the benchmark file was changed. Also, the order of elements for the uHu checkpoint files was chabged. Please let me know if there are some issues with these orders. |
Thanks @sjhong6230 for the quick reply! In theory there is no problem with changing the order, it's just a bit unfortunate that we could not reuse the old |
Restoring the old behavior would be easy since the reordering is done in Also, since Stengel-Spaldin functional and translation-invariance works with only sorted kmesh, we should raise an error if |
Sounds good, with this we can maintain some backward compatibility. Would you be willing to create a PR for this? Thanks! |
I noticed that the order of b vectors has changed in
develop
branch, probably due to #533 and #498?@sjhong6230 Is this indeed an incompatibility change (wrt the old version), to make sure those two PRs work? Thanks!
If so, probably we need to add an entry for this in the v4.0 release announcement.
The text was updated successfully, but these errors were encountered: