1 SUBROUTINE giant2(L,I,W,Q,WSCALE,QSCALE,XN,QL)
11 parameter(nmx=10,nmx2=2*nmx,nmx3=3*nmx,nmx4=4*nmx,
12 & nmx8=8*nmx,nmxm=nmx*(nmx-1)/2)
13 REAL*8 m,mass,mc,mij,mkk
14 common/chain1/ xch(nmx3),vch(nmx3),m(nmx),
15 & zz(nmx3),wc(nmx3),mc(nmx),
16 & xi(nmx3),pi(nmx3),mass,rinv(nmxm),rsum,mkk(nmx),
17 & mij(nmx,nmx),tkk(nmx),tk1(nmx),iname(nmx),nn
18 common/ccoll2/ qk(nmx4),pk(nmx4),rij(nmx,nmx),
SIZE(nmx),vstar1,
19 & ecoll1,rcoll,qperi,istar(nmx),icoll,isync,ndiss1
20 common/modes/ eb0(ntmax),zj0(ntmax),ecrit(ntmax),ar(ntmax),
21 & br(ntmax),eosc(4,ntmax),edec(ntmax),tosc(ntmax),
22 & rp(ntmax),es(ntmax),cm(2,ntmax),iosc(ntmax),
24 REAL*8 ww(6),qq(6),w(2),q(2),wscale(2),qscale(2),sw(2)
25 DATA ww /2.119,3.113,8.175,3.742,4.953,9.413/
26 DATA qq /0.4909,0.4219,0.2372,0.4677,0.3560,0.1519/
27 DATA a0,a1,a2,a3 /0.944525,-0.392030,6.01655d-02,-3.34790d-03/
28 DATA b0,b1,b2 /-0.3789,1.481,-0.1018/
29 DATA c0,c1,c2,c3 /1.455775,3.691069,-10.42117,11.23818/
30 DATA e0,e1,e2,e3 /1.934977,2.214222,-4.855796,4.025394/
35 cm(l,ic) = (0.3 + 0.1*(istar(i) - 3))/zmbar
41 IF (sig.GT.0.9.OR.sig.LT.0.0)
THEN
42 WRITE (6,5) ic, istar(i), i, m(i)*zmbar, cm(l,ic)*zmbar
43 5
FORMAT (
' WARNING! GIANT2 IC K* I M MC ',2i4,i6,2f7.2)
57 ql = 8.48d+03*sqrt(zm)*(zme/zl3)**0.33/rsi**0.833
63 sw(k) = ((c3*sig + c2)*sig + c1)*sig + c0
65 sw(k) = ((e3*sig + e2)*sig + e1)*sig + e0
68 q(k) = ((a3*sw(k) + a2)*sw(k) + a1)*sw(k) + a0
69 wscale(k) = sqrt(w(k)/ww(k1))
70 qscale(k) = (q(k)/qq(k1)/wscale(k))**2
71 qscale(k) = max(qscale(k),0.0001d0)
75 xn = (b2*sw(1) + b1)*sw(1) + b0