2
c $Id: excorr.f,v 1.2 1997/05/22 17:32:12 wdpgaara Exp $
5
c Revision 1.2 1997/05/22 17:32:12 wdpgaara
6
c Moving from RCSfiles to ATM_1_0
8
c Revision 1.1.1.1 1997/01/07 08:38:54 wdpgaara
9
c Froyen-Troullier-Martins-AG atom code
11
c Revision 1.1 1991/12/14 00:34:49 alberto
2
c $Id: excorr.f,v 1.3 1999/02/26 14:26:43 wdpgaara Exp $
14
4
subroutine excorr(id,cdd,cdu,cdc,vod,vou,vxc,vc,exc,ec)
70
60
& vod(nrmax), vou(nrmax)
72
62
C .. Local Scalars ..
73
double precision a0, a1, alb, aln, alp, an, b1, be, beta, bn,
74
& cdsum, ecf, ecp, ect, ehart, excf, excp,
75
& exct, exf, exp, ftrd, fz, fzp, pi, rs,
63
double precision a0, alb, aln, alp, be, beta,
64
& cdsum, ecf, ecp, ect, excf, excp,
65
& exct, exf, exp_var, ftrd, fz, fzp, pi, rs,
76
66
& rslog, sb, sqrs, te, tftm, trd, vcd, vcf,
77
67
& vcp, vcu, vxcd, vxcf, vxcp, vxcu, vxf,
84
74
C .. Intrinsic Functions ..
85
intrinsic abs, atan, log, sqrt
75
intrinsic atan, log, sqrt