We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d608e45 commit a99ef64Copy full SHA for a99ef64
src/pseudo/PspUpf.jl
@@ -126,8 +126,8 @@ function PspUpf(path; identifier=path, rcut=nothing)
126
for l = 0:lmax-1
127
pswfcs_l = filter(χ -> χ["angular_momentum"] == l, pseudo["atomic_wave_functions"])
128
for pswfc_li in pswfcs_l
129
- # Ry -> Ha, rχ -> r²χ
130
- push!(r2_pswfcs[l+1], rgrid .* pswfc_li["radial_function"] ./ 2)
+ # rχ -> r²χ
+ push!(r2_pswfcs[l+1], rgrid .* pswfc_li["radial_function"])
131
push!(pswfc_occs[l+1], pswfc_li["occupation"])
132
push!(pswfc_energies[l+1], pswfc_li["pseudo_energy"])
133
push!(pswfc_labels[l+1], pswfc_li["label"])
0 commit comments