9 implicit real*8 (a-h,o-z)
10 include
'afrt_rt2.cmn'
11 real*8 pfs(32,nph,2*nsz)
12 equivalence(pfs(1,1,1),pc(1,1,1))
42 tmsl=dtmm(il)*qsqt*
const
46 qfi(is)=
ei(is)*efact(il)/dtot(il)
59 gfot(i)=gfot(i)+(pfs(ij,ip,it)*tmsl +
60 1 pfs(ij+16,ip,it)*trsl)*qfi(j)
62 ftmp(i,it,ip)=gfot(i)*(1.0d0-emdtm(il,it))
65 ftmp(ks,it,ip)=-ftmp(ks,it,ip)
68 fio(i,it,ip)=fiib(i,it,ip)*emdtm(il,it)+
95 write(53,rec=nolyr+1)
fio
107 ftmpb(k,i,j)=
fio(k,i,j)
119 tmsl=dtmm(im)*qsqt*
const
123 qfi(is)=
ei(is)*efact(im)/dtot(im)
134 gfot(i)=gfot(i)+(pfs(ij,ip,it)*tmsl+
135 1 pfs(ij+16,ip,it)*trsl)*qfi(j)
137 ftmp(i,it,ip)=gfot(i)*(1.0d0-emdtm(im,it))
140 ftmp(ks,it,ip)=-ftmp(ks,it,ip)
143 fio(i,it,ip)=fiib(i,it,ip)*emdtm(im,it)+ftmp(i,it,ip)