25 integer,
intent(in) :: n
26 real(8),
intent(in) :: rho(n)
27 real(8),
intent(out) :: exc(n),vxc(n)
30 real(8),
parameter :: pi=3.1415926535897932385d0
31 real(8),
parameter :: alpha=1.d0
32 real(8) r,efac,rs,rsm1,vfac
33 vfac=(1.5d0/pi)**(2.d0/3.d0)
39 rs=(3.d0/(4.d0*pi*r))**(1.d0/3.d0)
42 exc(i)=-alpha*efac*rsm1
44 vxc(i)=-alpha*vfac*rsm1
subroutine xc_xalpha(n, rho, exc, vxc)