You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike for LDA/GGA functional, VASP hybrid functional band calculation has the K-points file made of weighted (from IBZKPTS file) and non-weighted parts (the band structure we want to plot).
I think it should work with hybrids.
when you get kpoints in this line
kpointsPBZ=unfold.kpoints_SBZ_str()
You may add it to the KPOINTS file, just set the weights to zero manually. After that you may run the hybrid calculation, and further read the WAVECAR via bands=banduppy.BandStructure(fWAV='WAVECAR',fPOS='POSCAR',spinor=False,code='vasp')
(spinor = True should also work )
Please try this manually first, if it works, I will add an option, smth like kpointsPBZ=unfold.kpoints_SBZ_str(weight=0) , or you may open a PR if you want. Please, tell me if it works.
I am not sure if any problems may arise, if some points are listed twice : as "weighted" and "unweighted". Probably no problem, but you may check.
Dear @stepan-tsirkin ,
Unlike for LDA/GGA functional, VASP hybrid functional band calculation has the K-points file made of weighted (from IBZKPTS file) and non-weighted parts (the band structure we want to plot).
e.g. the Kpoints file of procedure 2 in the VASP wiki page below: https://www.vasp.at/wiki/index.php/Si_HSE_bandstructure#Hybrid_calculation_using_a_suitably_modified_KPOINTS_file
We usually only want the non-weighted parts for our final plots.
Can banduppy be used with such hybrid functional VASP band calculations?
If yes, could you add a tutorial that shows how to use it?
Edit: I recently also found that such KPOINTS are also required for calculations with metaGGAs, not only hybrids.
The text was updated successfully, but these errors were encountered: