9 implicit real*8 (a-h,o-z)
11 include
'afrt_rt2.cmn'
12 real*8 zx(4,4),temp(4,2*nsz,nph)
23 sinsq = (1.0d0-cost**2)
25 a=(xr**2-xi**2-1.0d0+cost**2)
29 xp=dsqrt(2.0d0*r+2.0d0*a)
31 if(xmm .lt. 0.0d0 .and. xmm .gt. xzx) xmm=-xmm
33 dnmr1=(sinsq2+tmr+cost*sinsq*xp)
34 qrmu=(sinsq2-tmr)/dnmr1
35 qimu=(cost*sinsq*xm)/dnmr1
36 dnmr2=(cost**2+r+cost*xp)
58 sum2=sum2+zx(i,j)*
fio(j,it,ip)
68 read(55,rec=nolyr+1)fiib
72 fio(i,it,ip)=temp(i,it,ip)+fiib(i,it,ip)