2 subroutine mrs993(x,qsq,upv,dnv,usea,dsea,str,chm,bot,glu)
3 implicit real*8(a-h,o-
z)
6 real*8 f(
np,nx,nq+1),qq(nq),xx(nx),
g(
np),
n0(
np)
7 data xx/1
d-5,2
d-5,4
d-5,6
d-5,8
d-5,
8 & 1
d-4,2
d-4,4
d-4,6
d-4,8
d-4,
9 & 1
d-3,2
d-3,4
d-3,6
d-3,8
d-3,
10 & 1
d-2,1.4
d-2,2
d-2,3
d-2,4
d-2,6
d-2,8
d-2,
11 & .1d0,.125d0,.15d0,.175d0,.2d0,.225d0,.25d0,.275d0,
12 & .3d0,.325d0,.35d0,.375d0,.4d0,.425d0,.45d0,.475d0,
13 & .5d0,.525d0,.55d0,.575d0,.6d0,.65d0,.7d0,.75d0,
15 data qq/1.25d0,1.5d0,2d0,2.5d0,3.2d0,4d0,5d0,6.4d0,8d0,1d1,
16 & 1.2d1,1.8d1,2.6d1,4d1,6.4d1,1d2,
17 & 1.6d2,2.4d2,4d2,6.4d2,1d3,1.8d3,3.2d3,5.6d3,1d4,
18 & 1.8d4,3.2d4,5.6d4,1d5,1.8d5,3.2d5,5.6d5,1d6,
19 & 1.8d6,3.2d6,5.6d6,1d7/
20 data xmin,
xmax,qsqmin,qsqmax/1
d-5,1d0,1.25d0,1d7/
21 data n0/3,4,5,9,9,9,9,9/
30 read(iplst(2),50)f(1,
n,m),f(2,
n,m),f(3,
n,m),f(4,
n,m),
31 & f(5,
n,m),f(7,
n,m),f(6,
n,m),f(8,
n,m)
34 25 f(i,
n,m)=f(i,
n,m)/(1d0-xx(
n))**
n0(i)
37 xx(j)=dlog10(xx(j)/xx(ntenth))+xx(ntenth)
39 if(i.eq.5.or.i.eq.7) goto 31
41 30 f(i,j,
k)=dlog10(f(i,j,
k)/f(i,ntenth,
k))+f(i,ntenth,
k)
51 if(qsq.lt.qsqmin) qsq=qsqmin
52 if(qsq.gt.qsqmax) qsq=qsqmax
54 if(
x.lt.xx(ntenth)) xxx=dlog10(
x/xx(ntenth))+xx(ntenth)
57 if(xxx.gt.xx(
n+1)) goto 70
58 a=(xxx-xx(
n))/(xx(
n+1)-xx(
n))
61 if(qsq.gt.qq(m+1)) goto 80
62 b=(qsq-qq(m))/(qq(m+1)-qq(m))
64 g(i)= (1d0-a)*(1d0-b)*f(i,
n,m) + (1d0-a)*b*f(i,
n,m+1)
65 & + a*(1d0-b)*f(i,
n+1,m) + a*b*f(i,
n+1,m+1)
66 if(
n.ge.ntenth) goto 65
67 if(i.eq.5.or.i.eq.7) goto 65
68 fac=(1d0-b)*f(i,ntenth,m)+b*f(i,ntenth,m+1)
69 g(i)=fac*10d0**(
g(i)-fac)
71 g(i)=
g(i)*(1d0-
x)**
n0(i)