15 COMMON /leptou/ cut(14),lst(40),parl(30),
17 REAL cut,parl,
x,
y,w2,q2,u
21 COMMON /flgrid/ nfx,nfq,xr(2),qr(2),flqt(41,16),flgt(41,16),
23 REAL xr,qr,flqt,flgt,flmt
28 INTEGER nout,nwarn,lqcd,ltm,lht,ix,iq
29 REAL flq,flg,flm,xp,q2p,q2l,q2h,xl,xh,qd,xd,x1p,x2p
31 DATA nout/0/,nwarn/10/
34 ltm=mod(lst(11)/10,10)
40 IF(qr(1).GT.qr(2))
RETURN
41 IF(
x.LT.xr(1).OR.
x.GT.xr(2).OR.
42 &q2.LT.qr(1).OR.q2.GT.qr(2))
THEN
46 IF(lst(3).GE.1.AND.nout.LE.nwarn)
WRITE(6,1000)
x,q2,nwarn
48 IF(
x.LT.xr(1)) xp=xr(1)
49 IF(
x.GT.xr(2)) xp=xr(2)
50 IF(q2.LT.qr(1)) q2p=qr(1)
51 IF(q2.GT.qr(2)) q2p=qr(2)
54 ix=(alog10(xp)-alog10(xr(1)))/
55 &(alog10(xr(2))-alog10(xr(1)))*(nfx-1)+1
56 iq=(alog10(q2p)-alog10(qr(1)))/
57 &(alog10(qr(2))-alog10(qr(1)))*(nfq-1)+1
60 q2l=10**(alog10(qr(1))+(alog10(qr(2))-alog10(qr(1)))*
62 q2h=10**(alog10(qr(1))+(alog10(qr(2))-alog10(qr(1)))*
64 xl=10**(alog10(xr(1))+(alog10(xr(2))-alog10(xr(1)))*
66 xh=10**(alog10(xr(1))+(alog10(xr(2))-alog10(xr(1)))*
68 qd=(q2p-q2l)/(q2h-q2l)
72 x1p=(flqt(ix+1,iq)-flqt(ix,iq))*xd+flqt(ix,iq)
73 x2p=(flqt(ix+1,iq+1)-flqt(ix,iq+1))*xd+flqt(ix,iq+1)
75 x1p=(flgt(ix+1,iq)-flgt(ix,iq))*xd+flgt(ix,iq)
76 x2p=(flgt(ix+1,iq+1)-flgt(ix,iq+1))*xd+flgt(ix,iq+1)
80 x1p=(flmt(ix+1,iq)-flmt(ix,iq))*xd+flmt(ix,iq)
81 x2p=(flmt(ix+1,iq+1)-flmt(ix,iq+1))*xd+flmt(ix,iq+1)
86 1000
FORMAT(
' Warning: x=',f7.4,
' or Q2=',f6.1,
' outside grid,',
87 &
' for FL interpolation',/,10
x,
'value on grid limit used.',
88 &
' Only first',i5,
' warnings printed.',/)