1 SUBROUTINE giant(IPAIR,I,W,Q,WSCALE,QSCALE,XN,QL)
11 common/modes/ eb0(ntmax),zj0(ntmax),ecrit(ntmax),ar(ntmax),
12 & br(ntmax),eosc(4,ntmax),edec(ntmax),tosc(ntmax),
13 & rp(ntmax),es(ntmax),cm(2,ntmax),iosc(ntmax),
15 REAL*8 ww(6),qq(6),w(2),q(2),wscale(2),qscale(2),sw(2)
16 DATA ww /2.119,3.113,8.175,3.742,4.953,9.413/
17 DATA qq /0.4909,0.4219,0.2372,0.4677,0.3560,0.1519/
18 DATA a0,a1,a2,a3 /0.944525,-0.392030,6.01655d-02,-3.34790d-03/
19 DATA b0,b1,b2 /-0.3789,1.481,-0.1018/
20 DATA c0,c1,c2,c3 /1.452104,3.923872,-11.88722,13.46106/
21 DATA e0,e1,e2,e3 /1.934977,2.214222,-4.855796,4.025394/
28 IF (namec(k).EQ.name(j)) ic = k
36 IF (radius(i1).GE.radius(i2))
THEN
43 cm(l,ic) = (0.3 + 0.1*float(kstar(i) - 3))/zmbar
45 ELSE IF (cm(l,ic).LE.0.0d0)
THEN
46 cm(l,ic) = (0.3 + 0.1*float(kstar(i) - 3))/zmbar
48 IF(kstar(i).EQ.9) cm(l,ic) = 0.5*body(i)
51 sig = cm(l,ic)/body(i)
54 IF (sig.GT.0.9.OR.sig.LT.0.0)
THEN
60 cm(l,ic) = 0.9*body(i)
72 ql = 8.48d+03*sqrt(zm)*(zme/zl)**0.33/rsi**0.833
78 sw(k) = ((c3*sig + c2)*sig + c1)*sig + c0
80 sw(k) = ((e3*sig + e2)*sig + e1)*sig + e0
83 q(k) = ((a3*sw(k) + a2)*sw(k) + a1)*sw(k) + a0
84 wscale(k) = sqrt(w(k)/ww(k1))
85 qscale(k) = (q(k)/qq(k1)/wscale(k))**2
86 qscale(k) = max(qscale(k),0.0001d0)
90 xn = (b2*sw(1) + b1)*sw(1) + b0