excpbec Subroutine

public subroutine excpbec(rs, zeta, t, uu, vv, ww, ec, vcup, vcdn, llda, bet)

This subroutine evaluates the correlation energy per particle and spin-up and spin-dn correlation potentials within the Perdew-Burke- Ernzerhof GGA. It is a slightly modified version of K. Burke's official PBE subroutine.

Note

[a] J.P. Perdew, K. Burke, and M. Ernzerhof, Phys. Rev. Lett. 77, 3865 (1996). [b] J. P. Perdew, K. Burke, and Y. Wang, Phys. Rev. B54, 16533 (1996). [c] J. P. Perdew and Y. Wang, Phys. Rev. B45, 13244 (1992).

All input and output is in atomic units

Arguments

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

Wigner-Seitz radius

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

relative spin polarization

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

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

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

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

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

correlation energy per particle

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

spin-dn correlation potential

Local Feri momentum Local screening momentum

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

spin-up correlation potential

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

coefficient in gradient expansion for correlation, a.