-
Notifications
You must be signed in to change notification settings - Fork 17
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
Questions about 'update_nscf_num_bands' #9
Comments
Hi Dominik,
In the SCDM method the number of projections in Wannier90 is equal to the number of valence orbitals defined in the UPF files. So the purpose of the function
I assume this is a non-spin calculation, so the bands have degeneracy 2. For a 2-atoms silicon primitive cell, in total 8 electrons, we need
So this UPF has
But this
Specifically the
In summary, for non-spin case, the number of bands is [(max of
2 atoms, 4 orbitals in UPF so in total 8 orbitals
2 atoms, 18 orbitals in UPF so in total 36 orbitals. For extending the SCDM workflow to spin-orbit case, I think the only limit is the projwfc parser. Hope this helps! |
Hi Junfeng, Thanks for the detailed answer - that certainly helped clear up my confusion :) I've also encountered the limitation of the I'll open an issue in |
Hi all! I'm trying to understand the details of the
update_nscf_num_bands
function here.My understanding (based mostly on what I've been doing so far, could be wrong) is that its purpose is to extend the number of bands to cover all projections used by Wannier90. To make an example:
z_valence=4
, we should usenbnd>=8
to cover all the valence states of the pseudo, as well as all the "unoccupied projections" for NSCF. In the SCF, we may get away withnbnd>=4
since unoccupied states don't contribute to density. (for both cases we may add some bands to make the "interesting" bands better converged)However, the
get_nprojs_from_upf
function returns4
, where I would expect8
(2s + 6p).Even more confusing, for [this In pseudo]https://www.quantum-espresso.org/upf_files/In.rel-pbe-dn-kjpaw_psl.1.0.0.UPF), the result is
17
(I would expect18
). Am I misunderstanding the purpose ofupdate_nscf_num_bands
, or is there an edge case here that is not considered? I think this part of thePP_INFO
may be relevant:As a final question, what is the purpose of
update_nscf_num_bands
in the context of using the SCDM method? What is the logic behind how many unoccupied bands are needed then?The text was updated successfully, but these errors were encountered: