8 Implicit Double Precision (a-h,o-
z)
11 parameter(mxqx= mxq * mxx, mxpqx = mxqx * (mxf+3))
14 > / ctqpar1 / al, xv(0:mxx), tv(0:mxq), upd(mxpqx)
15 > / ctqpar2 / nx,
nt, nfmx
16 > / xqrange / qini, qmax,
xmin
18 dimension fvec(4), fij(4)
19 dimension xvpow(0:mxx)
27 if(ientry .eq. 0)
then
32 xvpow(i) = xv(i)**xpow
44 11
If (ju-jlx .GT. 1)
Then
46 If (
x .Ge. xv(jm))
Then
58 print '(A,1pE12.4)',
'Severe error: x <= 0 in PartonX6! x = ',
x
60 ElseIf (jlx .Eq. 0)
Then
62 Elseif (jlx .LE. nx-2)
Then
66 Elseif (jlx.Eq.nx-1 .or.
x.LT.onep)
Then
73 print '(A,1pE12.4)',
'Severe error: x > 1 in PartonX6! x = ',
x
81 If (jlx.Ge.2 .and. jlx.Le.nx-2)
Then
105 sdet = s12*s34 - s1213*s2434
107 const5 = (s34*sy2-s2434*sy3)*tmp/s12
108 const6 = (s1213*sy2-s12*sy3)*tmp/s34
116 12
If (ju-jlq .GT. 1)
Then
118 If (tt .GE. tv(jm))
Then
128 Elseif (jlq .LE.
nt-2)
Then
138 If (jlq.GE.1 .and. jlq.LE.
nt-2)
Then
164 If (iprtn .GE. 3)
Then
169 jtmp = ((
ip + nfmx)*(
nt+1)+(jq-1))*(nx+1)+jx+1
173 j1 = jtmp +
it*(nx+1)
181 fij(2) = upd(j1+1) * xv(1)**2
182 fij(3) = upd(j1+2) * xv(2)**2
183 fij(4) = upd(j1+3) * xv(3)**2
187 Call
polint6(xvpow(0), fij(1), 4, ss, fx, dfx)
189 If (
x .GT. 0d0) fvec(
it) = fx /
x**2
191 ElseIf (jlx .Eq. nx-1)
Then
194 Call
polint6(xvpow(nx-3), upd(j1), 4, ss, fx, dfx)
204 g1 = sf2*const1 - sf3*const2
205 g4 = -sf2*const3 + sf3*const4
207 fvec(
it) = (const5*(upd(j1)-g1)
208 & + const6*(upd(j1+3)-
g4)
209 & + sf2*sy3 - sf3*sy2) / s23
219 Call
polint6(tv(0), fvec(1), 4, tt,
ff, dfq)
221 ElseIf (jlq .GE.
nt-1)
Then
231 g1 = ( tf2*t13 - tf3*t12) / t23
232 g4 = (-tf2*t34 + tf3*t24) / t23
234 h00 = ((t34*ty2-
tmp2*ty3)*(fvec(1)-g1)/t12
235 & + (
tmp1*ty2-t12*ty3)*(fvec(4)-
g4)/t34)
237 ff = (h00*ty2*ty3/tdet + tf2*ty3 - tf3*ty2) / t23