25integer,
intent(in) :: n
26real(8),
intent(in) :: rho(n)
27real(8),
intent(out) :: exc(n),vxc(n)
30real(8),
parameter :: pi=3.1415926535897932385d0
31real(8),
parameter :: alpha=1.d0
32real(8) r,efac,rs,rsm1,vfac
33vfac=(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