-
Notifications
You must be signed in to change notification settings - Fork 145
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
Added IJ-dependent recentering of WFs in the following way: #3
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. three subroutines are added to hamiltonian.F90, the most important one is wz_translate_dist, given WF i at 0 and WF j at R it computes the basis vector of the supercell lattice that minimizes the 0+ri -> R+rj distance. Note that this depend on i,j and R and it is equivalent to putting WF R+rj inside the super-Wigner-Seitz centered in i and it is NOT equivalente to put both 0i and Rj inside the super-WS centered in 0. 2. if some shifts are equivalent, i.e. if WF Rj falls on the edge of the super-WS, all the possibilities are stored. 3. The shift vectors are stored in wdist_shiftj_wsi(3,ndegenx,num_wann,num_wann,nrpts); the number of equivalent shifts is stored in wdist_ndeg(num_wann,num_wann,nrpts) 4. in plot.F90 the WFs are shifted accordingly to get the best Fourier interpolation NOTE: nothing is done in postw90, as these vectors need to be either stored or recomputed. It is also possible to change the real space hamiltonian to include the shift (in this way the R->G interpolation becomes trivially a sum) but this changes the number of R vectors, hence I have not done it here (I have done it for phonons in a special version of q2r)!
putting request on hold as a bit of refactoring is required for postw90 |
mostofi
pushed a commit
to mostofi/wannier90
that referenced
this pull request
Sep 30, 2018
V vitale marianetti
giovannipizzi
pushed a commit
that referenced
this pull request
Dec 20, 2018
merge of the wannier-develop to my branch
giovannipizzi
pushed a commit
that referenced
this pull request
Feb 10, 2020
manxkim
pushed a commit
to manxkim/wannier90
that referenced
this pull request
Jan 10, 2021
merge of the wannier-develop to my branch
manxkim
pushed a commit
to manxkim/wannier90
that referenced
this pull request
Jan 10, 2021
V vitale marianetti
manxkim
pushed a commit
to manxkim/wannier90
that referenced
this pull request
Jan 10, 2021
npaulish
added a commit
to npaulish/wannier90
that referenced
this pull request
Feb 14, 2024
* Fix markdown file for parameters chapter * Fix a custom latex command
npaulish
added a commit
to npaulish/wannier90
that referenced
this pull request
Feb 15, 2024
* Fix markdown file for parameters chapter * Fix a custom latex command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: nothing is done in postw90, as these vectors need to be either stored or recomputed. It is also possible to change the real space hamiltonian to include the shift (in this way the R->G interpolation becomes trivially a sum) but this changes the number of R vectors, hence I have not done it here (I have done it for phonons in a special version of q2r)!