1 subroutine hump(const,t,tp,nm,lp,rmu,thd,ixy,nmu)
4 implicit real*8(a-h,o-z)
5 parameter(nw=250,nth=46,nsz=45,nph=91,nsg=10,nstk=4,ntrx=16,npti=8
6 1 nlyr=200,ntf=1801,nwnd=8,nrhum=10,nmd=3)
8 real*8 t(ntf,nstk),am(nlyr),costh(nlyr),sinth(nlyr),p(nstk,nstk)
9 real*8 tp(nlyr,nstk),cthr(nlyr),thr(nlyr),dmu(nlyr),rmu(51),thd(ntf
26 phi=(180-fi1+fk+dp/2.0d0)*conv
28 phi=(fk+dp/2.0d0)*conv
37 deldeg=deg/dfloat(nodeg)
41 thetd=(rmu(kl)+rmu(kl+1))/2.0d0
42 amup = dcos(thetd*conv)
45 cthr(i)=(thetd-xx+fi)*conv
49 thr(i)=(thetd-yy+fi)*conv
51 dmu(i)=dcos(cthr(i))-dcos(cthr(i+1))
53 ddmu =dcos(rmu(kl)*conv)-dcos(rmu(kl+1)*conv)
70 anunu = dsqrt((1.0d0-amups)*(1.0d0-amusq))
74 copsi=anunu+amumu*coosn
93 call xntpln(yz,thd(m),thd(m+1),t(m,1),t(m+1,1),t1)
94 call xntpln(yz,thd(m),thd(m+1),t(m,2),t(m+1,2),t2)
95 call xntpln(yz,thd(m),thd(m+1),t(m,3),t(m+1,3),t3)
96 call xntpln(yz,thd(m),thd(m+1),t(m,4),t(m+1,4),t4)
97 p(3,3)=p(3,3)+(sifi-g)*(t1+t2)+(cfisq+sisq-e)*t3
98 p(2,2)=p(2,2)+sisq*t1+cfisq*t2+2.0d0 *sifi * t3
99 p(1,2)=p(1,2)+sfisq*(amups*t1+amusq*t2+2.0d0 * amumu *t3
100 p(2,1)=p(2,1)+sfisq*(amups*t2+amusq*t1+2.0d0 * amumu *t3
101 p(1,1)=p(1,1)+cfisq*t1+sisq*t2+2.0d0 * sifi *t3
102 p(4,3)=p(4,3)+(sisq-cfisq-h)*t4
103 p(3,4)=p(3,4)+(cfisq-sisq-h)*t4
104 p(4,4)=p(4,4)+(sifi+g)*(t1+t2)+(cfisq+sisq+e)*t3
109 ttpp1=
const*p(k,1)*dmu(i)*dp/fi1
110 ttpp2=
const*p(k,2)*dmu(i)*dp/fi1
111 ttpp=0.5d0*(ttpp1+ttpp2)
112 tp(kk,l)=p(k,l)*dmu(i)*dp/fi1+tp(kk,l)
120 tp(kk,l)=tp(kk,l)/ddmu
124 ppbar=
const*(tp(id+1,1)+tp(id+1,2)+tp(id+2,1)+tp(id+2,2))*0.5d0