1 subroutine hump(const,t,tp,nm,lp,rmu,thd,ixy,nmu)
4 implicit real*8(a-h,o-z)
5 real*8 t(1801,4),am(2500),cosn(2500),sn(2500),p(4,4)
6 real*8 tp(1000,4),cthr(2500),thr(2500),dmu(2500),rmu(51),thd(1801)
33 60 phi=(c+fk+dp/2.0d0)*conv
35 61 phi=(fk+dp/2.0d0)*conv
39 600
format(1x,
'sn',1p10e12.4)
42 deg=rmu(kl+1) - rmu(kl)
44 deldeg=deg/dfloat(nodeg)
49 thetd=(rmu(kl)+rmu(kl+1))/2.0d0
50 amup = dcos(thetd*conv)
53 9988
format(
'rmuk1,rmuk2,deg,thetd,nodeg',1p4e11.3,i4)
56 200 cthr(i)=(thetd-xx+fi)*conv
59 thr(i)=(thetd-yy+fi)*conv
61 201 dmu(i)=dcos(cthr(i))-dcos(cthr(i+1))
64 602
format(
'cthr',1p6e11.3)
65 603
format(
'thr ',1p6e11.3)
66 ddmu =dcos(rmu(kl)*conv) -dcos(rmu(kl+1)*conv)
82 anunu = dsqrt( (1.0d0 - amups)*(1.0d0 - amusq))
86 copsi=anunu+amumu*coosn
107 call xntpln(yz,thd(m),thd(m+1),t(m,1),t(m+1,1),t1)
108 call xntpln(yz,thd(m),thd(m+1),t(m,2),t(m+1,2),t2)
109 call xntpln(yz,thd(m),thd(m+1),t(m,3),t(m+1,3),t3)
110 call xntpln(yz,thd(m),thd(m+1),t(m,4),t(m+1,4),t4)
115 p(3,3)=p(3,3)+(sifi-g)*(t1+t2)+(cfisq+sisq-e)*t3
116 p(2,2)=p(2,2)+sisq*t1+cfisq*t2+2.0d0 *sifi * t3
117 p(1,2)=p(1,2)+sfisq*(amups*t1+amusq*t2+2.0d0 * amumu *t3 )
118 p(2,1)=p(2,1)+sfisq*(amups*t2+amusq*t1+2.0d0 * amumu *t3)
119 p(1,1)=p(1,1)+cfisq*t1+sisq*t2+2.0d0 * sifi *t3
120 p(4,3)=p(4,3)+(sisq-cfisq-h)*t4
121 p(3,4)=p(3,4)+(cfisq-sisq-h)*t4
122 p(4,4)=p(4,4)+(sifi+g)*(t1+t2)+(cfisq+sisq+e)*t3
125 951
format(
't1,t2,t3,cfisq,sisq,sifi,p11'/1p7e11.3)
131 ttpp1=
const*p(k,1)*dmu(i)*dp/fi1
132 ttpp2=
const*p(k,2)*dmu(i)*dp/fi1
133 ttpp=0.5d0*(ttpp1+ttpp2)
134 tp(kk,l)=p(k,l)*dmu(i)*dp/fi1+tp(kk,l)
138 952
format(
'i,kk,l,dmu,p,tp,ttpp',3i3,1x,1p4e11.3)
144 tp(kk,l)=tp(kk,l)/ddmu
147 953
format(
'kk,l,ddmu,fi1,tp(kk,l)',2i3,1x,1p3e11.3)
152 ppbar=
const*(tp(id+1,1)+tp(id+1,2)+tp(id+2,1)+tp(id+2,2))*0.5d0
166 25
format(1p2d18.12,1p2d19.12,0pf6.2)
167 26
format(1x,1p2d18.12,1p2d19.12,0pf6.2)
168 404
format(1x,
'tp-hump..thetd,ppbar',f8.2,1p2e12.4/)
170 403
format(1x,
't func',i5,1p6e11.3)