excpbex Subroutine

public subroutine excpbex(rho, s, u, v, ex, vx, llda, um)

PBE exchange for a spin-unpolarized electronic system. This is calculated using the fact that the exchange in LDA is given by with where the is given by where with and being defined in Eq.13 of [a]

Note

[a] J.P. Perdew, K. Burke, and M. Ernzerhof, Phys. Rev. Lett. 77, 3865 (1996). [b] J.P. Perdew and Y. Wang, Phys. Rev. B33, 8800 (1986); B40, 3399 (1989)(E).

K Burke's modification of PW91 codes, May 14, 1996 Modified again by K. Burke, June 29, 1996, with simpler Fx(s)

All input and output is in atomic units

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: rho

density

real(kind=dp), intent(in) :: s

with

real(kind=dp), intent(in) :: u

real(kind=dp), intent(in) :: v
real(kind=dp), intent(out) :: ex

exchange energy per electron

real(kind=dp), intent(out) :: vx

exchange potential

integer, intent(in) :: llda
real(kind=dp), intent(in) :: um