Skip to content

Commit

Permalink
Fixed bug with f-orbitals
Browse files Browse the repository at this point in the history
  • Loading branch information
dceresoli committed Sep 10, 2024
1 parent 19db6cc commit af47115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/defs/do_atwfc_proj.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,9 @@ def calc_ylmg_complex_0(ylmg):
# l = 3
ylmgc[:,9] = ylmg[:,9]
#ylmgc[:,10] = -(ylmg[:,10] + 1j*ylmg[:,11])/sqrt2 # m=1
#ylmgc[:,10] = (ylmg[:,10] - 1j*ylmg[:,11])/sqrt2 # m=-1
#ylmgc[:,11] = (ylmg[:,10] - 1j*ylmg[:,11])/sqrt2 # m=-1
ylmgc[:,10] = (ylmg[:,10] + 1j*ylmg[:,11])/sqrt2 # m=1 # because QE cub. harm. have opposite sign
ylmgc[:,10] = -(ylmg[:,10] - 1j*ylmg[:,11])/sqrt2 # m=-1
ylmgc[:,11] = -(ylmg[:,10] - 1j*ylmg[:,11])/sqrt2 # m=-1
ylmgc[:,12] = +(ylmg[:,12] + 1j*ylmg[:,13])/sqrt2 # m=2
ylmgc[:,13] = (ylmg[:,12] - 1j*ylmg[:,13])/sqrt2 # m=-2
#ylmgc[:,14] = -(ylmg[:,14] + 1j*ylmg[:,15])/sqrt2 # m=3
Expand Down

0 comments on commit af47115

Please sign in to comment.