mirror of https://gitlab.com/QEF/q-e.git
FIX: BEEF-vdW inconsistent spinpol handling.
This commit is contained in:
parent
cfd77d5b04
commit
c8d364fcbc
|
@ -763,8 +763,8 @@ SUBROUTINE gcx_spin( length, rho_in, grho2_in, sx_tot, v1x_out, v2x_out )
|
|||
rho = 2.0_DP * rho
|
||||
grho2 = 4.0_DP * grho2
|
||||
!
|
||||
CALL beefx(2.0_DP*rho(1), 4.0_DP*grho2(1), sx(1), v1x(1), v2x(1), 0)
|
||||
CALL beefx(2.0_DP*rho(2), 4.0_DP*grho2(2), sx(2), v1x(2), v2x(2), 0)
|
||||
CALL beefx(rho(1), grho2(1), sx(1), v1x(1), v2x(1), 0)
|
||||
CALL beefx(rho(2), grho2(2), sx(2), v1x(2), v2x(2), 0)
|
||||
!
|
||||
sx_tot(ir) = 0.5_DP * (sx(1)*rnull(1) + sx(2)*rnull(2))
|
||||
v2x = 2.0_DP * v2x
|
||||
|
|
Loading…
Reference in New Issue