REAL FUNCTION EXXALPHA ( PSI, WGT2, RHOT, RHOTUP, RHOTDOWN, GRHOT, GRHOTUP, GRHOTDOWN, WK0, WK1, WK2, WK3, WK4, WK5, WK6, WK7 )

Argument Definitions (+ indicates altered content)
REAL*8             GRHOT(*),   GRHOTDOWN(*),           GRHOTUP(*)
REAL*8             PSI(*),     RHOT(*),   +RHOTDOWN(*)
REAL*8            +RHOTUP(*),  WGT2(*),    WK0(*),     WK1(*)
REAL*8             WK2(*),     WK3(*),     WK4(*),     WK5(*)
REAL*8             WK6(*),     WK7(*)
Description
                                                                        * 
  Copyright (C) 2010 Jacek Kobus                    * 
                                                                        * 
  This program is free software; you can redistribute it and/or modify  * 
  it under the terms of the GNU General Public License version 2 as     * 
  published by the Free Software Foundation.                            * 
                                                                        * 
 
### exxalpha ### 
    Calculates exchange energy according to Xalpha scheme
Source file:exxalpha.f
External Functions and Subroutines Called
REAL*8             DOT,        FDFTEN
SUBROUTINE         ADD,        EXOCC,      MULTF4,     PROD2
SUBROUTINE         SCAL
Parameter Variables Used
REAL*8             CONST43            (CONST43 = 4.D0/3.D0)
Local Variables (+ indicates altered content)
INTEGER           +I,         +IBORB,     +IORB,      +ISIORB
INTEGER           +NMUT
REAL*8             OCDOWN,     OCUP,      +W
Referenced Common Block Variables (+ indicates altered content)
ADDRESS1           INTEGER            I1B(60)
ADDRESS3           INTEGER            I1SI(60)
ADDRESS5           INTEGER            I1MU(60)
CONFIG             INTEGER            NORB
CONSINT            INTEGER            IONE
GRIDI              INTEGER            MXSIZE
SCFR               REAL*8             ALPHAF