14 COMMON /leptou/ cut(14),lst(40),parl(30),
15 & xlp,ylp,w2lp,q2lp,ulp
16 REAL cut,parl,xlp,ylp,w2lp,q2lp,ulp
22 common/lujets/
n,
k(nlupdm,5),
p(nlupdm,nplbuf),
v(nlupdm,5)
27 common/ludat1/mstu(200),paru(200),mstj(200),parj(200)
32 common/ludat2/kchg(500,3),pmas(500,4),parf(2000),vckm(4,4)
37 COMMON /pypara/ ipy(80),pypar(80),pyvar(80)
46 COMMON /lyproc/ isub,kfl(3,2),
x(2),sh,th,uh,q2,xsec(0:40)
47 REAL x,sh,th,uh,q2,xsec
51 COMMON /lyint1/ xq(2,-6:6),dsig(-6:6,-6:6,5),fsig(10,10,3)
57 INTEGER ipu1,ipu2,ifls,
is,nq,ilep,ifla,ns,ifl,jt,ihfc,ihfx,
58 +i,j,jr,iflb,ihft,ipo,i1,i2,itemp,
it,ikin,id1,kn1,
kd1,id2,
60 REAL xs,zs,q2s,tevs,robo,xfs,xfa,xfb,wtap,wtsf,
z,xe0,xa,
61 +tmax,qmax,q2e,b0,xbmin,
xb,q2b,tevb,qmass,xe,wtapq,wtsum,tevxp,
62 +q2ref,wtran,wtz,xbnew,rsoft,zu,q2max,alprat,the
65 dimension ifls(4),
is(2),xs(2),zs(2),q2s(2),tevs(2),robo(5),
66 &xfs(2,-6:6),xfa(-6:6),xfb(-6:6),wtap(-6:6),wtsf(-6:6)
67 DOUBLE PRECISION dq2(3),dsh,dshz,dshr,dplcm,dpc(3),dpd(4),dms,
68 &dmsma,dpt2,dpb(4),dbe1(4),dbe2(4),dbep,dgabep,dpq(4),dpqs(2),
69 &dm2,dq2b,drobo(5),dbez,dtemp
72 LOGICAL seaquark,
split
74 REAL xquark,xgluon,xsea,zsplit,zsoft,zmax
75 COMMON /seaqte/ xquark,xgluon,xsea,zsplit,zsoft,zmax,
split
77 COMMON /flavor/ lastfl,seafl
79 DATA ifla,nq/0,0/,
z,xe0,xa/3*0./,dshz,dmsma,dpt2,dshr/4*0.d0/
87 IF(isub.EQ.27) q2e=pmas(23,1)**2
88 IF(isub.EQ.28) q2e=pmas(24,1)**2
89 tmax=alog(pypar(26)*pypar(27)*q2e/pypar(21)**2)
92 IF(
n.GE.27) sh=
p(27,5)**2
95 q2e=
max(pypar(21)**2,
min(q2e,(0.95/
x(3-ilep)-1.)*q2-sh,
97 tmax=alog(q2e/pypar(21)**2)
100 IF (mod(lst(8),10).EQ.4 .OR. mod(lst(8),10).EQ.5)
THEN
102 tmax=alog(q2e/pypar(21)**2)
103 ELSEIF(pypar(26)*q2e.LT.
max(pypar(22),2.*pypar(21)**2).OR.
108 IF(ilep.EQ.0) xe0=2.*pypar(23)/pyvar(1)
109 b0=(33.-2.*ipy(8))/6.
116 IF (ntry.GT.100)
THEN
128 IF(ilep.EQ.2) nq=ipu1+2
129 dpqs(1)=dble(
p(nq,3))
130 dpqs(2)=dble(
p(nq,4))
131 xbmin=
x(3-ilep)*
max(0.5,sh/q2)
132 CALL
lystfu(ipy(43-ilep),xbmin,q2,xfb)
134 110 xq(3-ilep,ifl)=xfb(ifl)
138 IF(kfl(2,jt).EQ.21) ifls(jt)=0
142 IF(ilep.EQ.0) q2s(jt)=pypar(26)*q2e
145 120 xfs(jt,ifl)=xq(jt,ifl)
157 IF(
n.GT.mstu(4)-10)
THEN
158 WRITE(6,*)
' LYSSPA: no more memory in LUJETS'
169 IF((
n.GT.ns+2.AND.q2s(2).GT.q2s(1).AND.ilep.EQ.0).OR.ilep.EQ.1)
174 IF(ilep.GE.1.AND.
n.EQ.ns+2)
xb=xs(jt)*
max(sh/q2,0.5)
176 140 xfb(ifl)=xfs(jt,ifl)
179 IF(ipy(14).GE.9.AND.
n.GT.ns+4)
THEN
180 q2b=0.5*(1./zs(jt)+1.)*q2s(jt)+0.5*(1./zs(jt)-1.)*(q2s(3-jt)-
181 & sngl(dsh)+sqrt((sngl(dsh)+q2s(1)+q2s(2))**2+8.*q2s(1)*q2s(2)*
182 & zs(jt)/(1.-zs(jt))))
183 tevb=alog(pypar(27)*q2b/pypar(21)**2)
187 dshz=dsh/dble(zs(jt))
188 ELSEIF(ilep.GE.1)
THEN
190 IF(
n.GT.ns+4) dshz=(dsh+dq2(jr)-dq2(jt))/zs(jt)-dq2(jr)+
192 dpd(2)=dshz+dq2(jr)+dble(pypar(22))
196 IF(iabs(iflb).EQ.0) qmass=
ulmass(21)
198 IF(dq2(jr).LT.4.*qmass**2)
THEN
200 dpc(1)=dq2(jr)*(dble(pypar(22))+dm2)**2
201 dpc(2)=dpd(2)*(dpd(2)-2d0*pypar(22))*(pypar(22)+dm2)
202 dpc(3)=pypar(22)*(dpd(2)-2d0*pypar(22))**2
203 xe0=1d0-(dpc(2)-dsqrt(dpc(2)**2-4d0*dpc(1)*dpc(3)))/
206 zmax=(dpc(2)-dsqrt(dpc(2)**2-4d0*dpc(1)*dpc(3)))/(2d0*dpc(1))
210 xe0=1d0-(dpd(2)-2d0*dble(pypar(22)))*(dpd(2)-dsqrt(dpd(2)**2-
211 & 4d0*dq2(jr)*dble(pypar(22))))/(2d0*dq2(jr)*dble(pypar(22)))
213 zmax=(dpd(2)-2d0*dble(pypar(22)))*(dpd(2)-dsqrt(dpd(2)**2-
214 & 4d0*dq2(jr)*dble(pypar(22))))/(2d0*dq2(jr)*dble(pypar(22)))
228 IF (n145.GT.100)
THEN
232 xe=
max(xe0,
xb*(1./(1.-pypar(24))-1.))
235 IF(
xb+xe.GE.0.999)
THEN
245 wtapq=16.*(1.-sqrt(
xb+xe))/(3.*sqrt(
xb))
246 DO 160 ifl=-ipy(8),ipy(8)
247 IF(ifl.EQ.0) wtap(ifl)=6.*alog((1.-
xb)/xe)
248 160
IF(ifl.NE.0) wtap(ifl)=wtapq
250 wtap(0)=0.5*
xb*(1./(
xb+xe)-1.)
251 wtap(iflb)=8.*alog((1.-
xb)*(
xb+xe)/xe)/3.
255 DO 180 ifl=-ipy(8),ipy(8)
256 wtsf(ifl)=xfb(ifl)/
max(1e-10,xfb(iflb))
257 180 wtsum=wtsum+wtap(ifl)*wtsf(ifl)
258 IF(iabs(iflb).GE.4.AND.wtsum.GT.1e3)
THEN
260 DO 185 ifl=-ipy(8),ipy(8)
261 185 wtsf(ifl)=wtsf(ifl)*1e3/wtsum
278 IF(ipy(14).LE.6.OR.ipy(14).GE.9)
THEN
279 tevxp=b0/
max(0.0001,wtsum)
281 tevxp=b0/
max(0.0001,5.*wtsum)
283 tevb=tevb*exp(
max(-100.,alog(
rlu(0))*tevxp))
284 q2ref=pypar(21)**2*exp(tevb)/pypar(27)
289 IF(
n.GT.ns+4) dshz=(dsh+dq2(jr)-dq2(jt))/dble(zs(jt))-dq2(jr)+
294 IF( lst(35).EQ.1)
THEN
295 IF( q2b.LT.pypar(22) .AND.
296 & (abs(iflb).LE.lst(12).AND.abs(iflb).GE.1))
THEN
297 q2ref=
min(pypar(22),q2s(jt))
298 q2b=
min(pypar(22),q2s(jt))
299 IF(ilep.GE.1.AND.
n.EQ.ns+2)
THEN
300 xt=
x(jt)*(1.+(dsh-q2b)/dq2(jr))
304 CALL
lystfu(ipy(40+jt),xt,q2ref,xft)
305 IF(xft(iflb).EQ.0.0.AND.xft(-iflb).EQ.0.0)
THEN
307 ELSEIF(xft(abs(iflb)).EQ.0.0)
THEN
310 searatio=xft(-abs(iflb))/xft(abs(iflb))
313 IF (
rlu(0).LT.searatio)
THEN
323 IF(q2b.LT.pypar(22))
THEN
332 wtran=wtran-wtap(ifla)*wtsf(ifla)
333 IF(ifla.LT.ipy(8).AND.wtran.GT.0.) goto 200
344 IF(iflb.EQ.0.AND.ifla.EQ.0)
THEN
347 ELSEIF(iflb.EQ.0)
THEN
348 z=
xb/(1.-
rlu(0)*(1.-sqrt(
xb+xe)))**2
349 wtz=0.5*(1.+(1.-
z)**2)*sqrt(
z)
350 ELSEIF(ifla.EQ.0)
THEN
365 IF(ilep.GE.1.AND.
n.EQ.ns+2)
THEN
366 xbnew=
x(jt)*(1.+(dsh-q2b)/dq2(jr))
367 IF(xbnew.GT.
min(
z,0.999)) goto 190
372 IF(ipy(15).GE.1)
THEN
374 IF(iflb.NE.0) rsoft=8./3.
375 z=
z*(tevb/tevs(jt))**(rsoft*xe/((
xb+xe)*b0))
378 zsoft=(tevb/tevs(jt))**(rsoft*xe/((
xb+xe)*b0))
386 IF(lst(15).EQ.-4.OR.lst(15).EQ.-5) goto 205
388 IF(ilep.GE.1.AND.iabs(iflb).GE.4.AND.(xfb(iflb).LT.1e-10.OR.
389 & q2b.LT.5.*
ulmass(iabs(iflb))**2))
THEN
397 dpd(2)=dshz+dq2(jr)+dq2b
399 dm2=
ulmass(iabs(ifla-iflb))**2
400 IF(iabs(ifla-iflb).EQ.0) dm2=
ulmass(21)**2
401 dpc(1)=dq2(jr)*(dq2b+dm2)**2
402 dpc(2)=dpd(2)*(dpd(2)-2d0*dq2b)*(dq2b+dm2)
403 dpc(3)=dq2b*(dpd(2)-2d0*dq2b)**2
404 zu=(dpc(2)-dsqrt(dpc(2)**2-4d0*dpc(1)*dpc(3)))/(2d0*dpc(1))
409 IF(ipy(14).GE.5.AND.ipy(14).LE.6.AND.
n.LE.ns+4)
THEN
411 IF(q2b/(1.-
z).GT.pypar(26)*q2) goto 190
412 ELSEIF(ipy(14).GE.3.AND.ipy(14).LE.6.AND.
n.GE.ns+6)
THEN
414 q2max=0.5*(1./zs(jt)+1.)*dq2(jt)+0.5*(1./zs(jt)-1.)*
415 & (dq2(3-jt)-dsh+sqrt((dsh+dq2(1)+dq2(2))**2+8.*dq2(1)*dq2(2)*
416 & zs(jt)/(1.-zs(jt))))
417 IF(q2b/(1.-
z).GE.q2max) goto 190
419 ELSEIF(ipy(14).EQ.7.OR.ipy(14).EQ.8)
THEN
421 IF((1.-
z)*q2b.LT.pypar(22)) goto 190
422 alprat=tevb/(tevb+alog(1.-
z))
423 IF(alprat.LT.5.*
rlu(0)) goto 190
424 IF(alprat.GT.5.) wtz=wtz*alprat/5.
428 CALL
lystfu(ipy(40+jt),
xb,q2ref,xfb)
430 CALL
lystfu(ipy(40+jt),xa,q2ref,xfa)
431 IF(ihft.EQ.1.OR.ihfx.EQ.1)
THEN
432 IF(xfa(ifla).LT.1e-10) ihfc=1
434 ELSEIF(xfb(iflb).LT.1e-20)
THEN
437 IF(wtz*xfa(ifla)/xfb(iflb).LT.
rlu(0)*wtsf(ifla))
THEN
438 IF(ilep.GE.1.AND.
n.EQ.ns+2) goto 145
453 IF(
n.EQ.ns+4-2*
min(1,ilep))
THEN
456 IF(ipy(14).GE.3.AND.ipy(14).LE.6) dq2(jt)=q2b/(1.-
z)
458 dplcm=dsqrt((dsh+dq2(1)+dq2(2))**2-4.*dq2(1)*dq2(2))/dshr
464 IF(ifls(jr+2).EQ.0)
k(i,2)=21
470 p(i,3)=dplcm*(-1)**(jr+1)
471 p(i,4)=(dsh+dq2(3-jr)-dq2(jr))/dshr
472 p(i,5)=-sqrt(sngl(dq2(jr)))
485 k(ipo,4)=mod(
k(ipo,4),mstu(5))+i*mstu(5)
486 k(ipo,5)=mod(
k(ipo,5),mstu(5))+i*mstu(5)
492 DO 225 itemp=ns+1,ns+4
511 k(i2,2)=kfl(2,3-ilep)
512 dpd(1)=dsh+dq2(1)+dq2(2)
513 dpd(3)=(3-2*ilep)*dsqrt(dpd(1)**2-4d0*dq2(1)*dq2(2))
514 p(i2,3)=(dpqs(2)*dpd(3)-dpqs(1)*dpd(1))/
516 p(i2,4)=(dpqs(1)*dpd(3)-dpqs(2)*dpd(1))/
518 p(i2,5)=-sqrt(sngl(dq2(3-ilep)))
519 p(i2+1,3)=
max(ipu1,ipu2)
520 p(i2+1,4)=
max(ipu1,ipu2)
521 k(i2,4)=
k(i2,4)-mod(
k(i2,4),mstu(5))+
max(ipu1,ipu2)
522 k(i2,5)=
k(i2,5)-mod(
k(i2,5),mstu(5))+
max(ipu1,ipu2)
525 k(25-2*ilep,4)=mod(
k(25-2*ilep,4),mstu(5))+i2*mstu(5)
526 k(25-2*ilep,5)=mod(
k(25-2*ilep,5),mstu(5))+i2*mstu(5)
530 ELSEIF(
n.GT.ns+4)
THEN
533 IF(ipy(14).GE.3.AND.ipy(14).LE.6) dq2(3)=q2b/(1.-
z)
534 IF(
is(1).GE.1.AND.
is(1).LE.mstu(4))
THEN
536 dpc(3)=0.5*(abs(
p(
is(1),3))+abs(
p(
is(2),3)))
540 dpc(3)=0.5*( 0. +abs(
p(
is(2),3)))
543 dpd(1)=dsh+dq2(jr)+dq2(jt)
544 dpd(2)=dshz+dq2(jr)+dq2(3)
545 dpd(3)=dsqrt(dpd(1)**2-4.*dq2(jr)*dq2(jt))
546 dpd(4)=dsqrt(dpd(2)**2-4.*dq2(jr)*dq2(3))
548 IF((q2s(jr).GE.0.5*pypar(22).AND.dpd(1)-dpd(3).GE.1
d-10*dpd(1))
549 & .OR.ilep.GE.1) ikin=1
550 IF(ikin.EQ.0) dmsma=(dq2(jt)/dble(zs(jt))-dq2(3))*(dsh/
551 & (dsh+dq2(jt))-dsh/(dshz+dq2(3)))
552 IF(ikin.EQ.1) dmsma=(dpd(1)*dpd(2)-dpd(3)*dpd(4))/(2.*
553 & dq2(jr))-dq2(jt)-dq2(3)
558 k(
it,2)=iflb-ifls(jt+2)
559 IF(iflb-ifls(jt+2).EQ.0)
k(
it,2)=21
562 IF(sngl(dmsma).LE.
p(
it,5)**2) goto 100
570 IF(mod(ipy(14),2).EQ.0)
THEN
572 IF(ilep.EQ.0)
p(
it,4)=(dshz-dsh-
p(
it,5)**2)/dshr
573 IF(ilep.GE.1)
p(
it,4)=0.5*(
p(
is(jt),3)*dpd(2)+
574 & dpqs(1)*(dq2(jt)+dq2(3)+
p(
it,5)**2))/(
p(
is(jt),3)*dpqs(2)-
575 &
p(
is(jt),4)*dpqs(1))-dpc(jt)
577 CALL
lushow(
it,0,sqrt(
min(sngl(dmsma),pypar(25)*q2)))
579 IF(
n.GT.mstu(4)-10)
THEN
580 WRITE(6,*)
' LYSSPA: no more memory in LUJETS'
592 IF(ikin.EQ.0.AND.ilep.EQ.0) dpt2=(dmsma-dms)*(dshz+dq2(3))/
594 IF(ikin.EQ.1.AND.ilep.EQ.0) dpt2=(dmsma-dms)*(0.5*dpd(1)*
595 & dpd(2)+0.5*dpd(3)*dpd(4)-dq2(jr)*(dq2(jt)+dq2(3)+dms))/
597 IF(ikin.EQ.1.AND.ilep.GE.1) dpt2=(dmsma-dms)*(0.5*dpd(1)*
598 & dpd(2)+0.5*dpd(3)*dpd(4)-dq2(jr)*(dq2(jt)+dq2(3)+dms))/
600 IF(dpt2.LT.0.) goto 100
602 p(
it,1)=sqrt(sngl(dpt2))
604 dpb(1)=(0.5*dpd(2)-dpc(jr)*(dshz+dq2(jr)-dq2(jt)-dms)/
605 & dshr)/dpc(3)-dpc(3)
606 p(
it,3)=dpb(1)*(-1)**(jt+1)
607 p(
it,4)=(dshz-dsh-dms)/dshr
609 dpc(3)=dq2(jt)+dq2(3)+dms
610 dpb(2)=dpqs(2)*dble(
p(
is(jt),3))-dpqs(1)*dpc(jt)
611 dpb(1)=0.5d0*(dpc(jt)*dpd(2)+dpqs(2)*dpc(3))/dpb(2)-
614 p(
it,4)=0.5d0*(dble(
p(
is(jt),3))*dpd(2)+
615 & dpqs(1)*dpc(3))/dpb(2)-dpc(jt)
619 dpb(1)=dsqrt(dpb(1)**2+dpt2)
620 dpb(2)=dsqrt(dpb(1)**2+dms)
622 dpb(4)=dsqrt(dpb(3)**2+dms)
623 dbez=(dpb(4)*dpb(1)-dpb(3)*dpb(2))/(dpb(4)*dpb(2)-dpb(3)*
625 CALL ludbrb(mstu(1),mstu(2),0.,0.,0.d0,0.d0,dbez)
627 CALL ludbrb(mstu(1),mstu(2),the,0.,0.d0,0.d0,0.d0)
633 IF(iflb.EQ.0)
k(
n+1,2)=21
643 p(
n+1,5)=-sqrt(sngl(dq2(3)))
648 k(
n+2,2)=
k(
is(jt)+1,2)
655 kn1=isign(500+iabs(
k(
n+1,2)),2*
k(
n+1,2)+1)
656 kd1=isign(500+iabs(
k(id1,2)),2*
k(id1,2)+1)
657 IF(
k(
n+1,2).EQ.21) kn1=500
658 IF(
k(id1,2).EQ.21)
kd1=500
659 IF((kn1.GE.501.AND.
kd1.GE.501).OR.(kn1.LT.0.AND.
660 &
kd1.EQ.500).OR.(kn1.EQ.500.AND.
kd1.EQ.500.AND.
661 &
rlu(0).GT.0.5).OR.(kn1.EQ.500.AND.
kd1.LT.0))
670 k(
n+1,4)=
k(
n+1,4)-mod(
k(
n+1,4),mstu(5))+id1
671 k(
n+1,5)=
k(
n+1,5)-mod(
k(
n+1,5),mstu(5))+id2
672 k(id1,4)=mod(
k(id1,4),mstu(5))+(
n+1)*mstu(5)
673 k(id1,5)=mod(
k(id1,5),mstu(5))+id2*mstu(5)
674 k(id2,4)=mod(
k(id2,4),mstu(5))+id1*mstu(5)
675 k(id2,5)=mod(
k(id2,5),mstu(5))+(
n+1)*mstu(5)
682 CALL ludbrb(mstu(1),mstu(2),0.,0.,
683 & -dble(
p(
n-1,1)+
p(
is(jr),1))/dble(
p(
n-1,4)+
p(
is(jr),4)),
684 & 0.d0,-dble(
p(
n-1,3)+
p(
is(jr),3))/dble(
p(
n-1,4)+
p(
is(jr),4)))
686 CALL ludbrb(mstu(1),mstu(2),
692 dbe1(4)=dpq(4)+dble(
p(
n-1,4))
694 270 dbe1(j)=-(dpq(j)+dble(
p(
n-1,j)))/dbe1(4)
695 dtemp=1.d0-dbe1(1)**2-dbe1(3)**2
696 IF(dtemp.LE.0.d0)
THEN
698 IF(lst(3).GE.1)
WRITE(6,*)
' Warning from LYSSPA: sqrt of',
699 & dtemp,
' New event generated.'
702 dbe1(4)=1.d0/dsqrt(dtemp)
703 dbep=dbe1(1)*dpq(1)+dbe1(3)*dpq(3)
704 dgabep=dbe1(4)*(dbe1(4)*dbep/(1d0+dbe1(4))+dpq(4))
706 280 dpq(j)=dpq(j)+dgabep*dbe1(j)
707 dpq(4)=dbe1(4)*(dpq(4)+dbep)
708 dpc(1)=dsqrt(dpq(1)**2+dpq(3)**2)
709 dbe2(4)=-(dpq(4)*dpc(1)-dpqs(2)*dsqrt(dpqs(2)**2+dpc(1)**2-
710 & dpq(4)**2))/(dpc(1)**2+dpqs(2)**2)
711 the=
ulangl(sngl(dpq(3)),sngl(dpq(1)))
712 dbe2(1)=dbe2(4)*dsin(dble(the))
713 dbe2(3)=dbe2(4)*dcos(dble(the))
714 dbe2(4)=1d0/(1d0-dbe2(1)**2-dbe2(3)*2)
717 dpb(1)=dbe1(4)**2*dbe2(4)/(1d0+dbe1(4))
718 dpb(2)=dbe1(1)*dbe2(1)+dbe1(3)*dbe2(3)
719 dpb(3)=dbe1(4)*dbe2(4)*(1d0+dpb(2))
721 290 drobo(jb+2)=(dbe1(4)*dbe2(4)*dbe1(jb)+dbe2(4)*dbe2(jb)+
722 & dpb(1)*dbe1(jb)*dpb(2))/dpb(3)
723 CALL ludbrb(mstu(1),mstu(2),0.,0.,drobo(3),0.d0,drobo(5))
724 IF(ilep.EQ.1) the=
ulangl(
p(ns+1,3),
p(ns+1,1))
725 IF(ilep.EQ.2) the=paru(1)+
ulangl(
p(ns+3,3),
p(ns+3,1))
726 CALL ludbrb(mstu(1),mstu(2),-the,paru(2)*
rlu(0),0d0,0d0,0d0)
733 IF(ilep.EQ.2.AND.
n.EQ.ns+4)
is(jt)=
n-3
736 IF(ipy(14).GE.3.AND.ipy(14).LE.6) dq2(jt)=q2b/(1.-
z)
738 IF(q2b.GE.0.5*pypar(22))
THEN
744 300 xfs(jt,ifl)=xfa(ifl)
750 IF(
max(iabs(1-ilep)*q2s(1),
min(1,2-ilep)*q2s(2)).GE.0.5*pypar(22)
751 &.OR.
n.LE.ns+2) goto 130
756 310 drobo(j+2)=(
p(ns+1,j)+
p(ns+3,j))/(
p(ns+1,4)+
p(ns+3,4))
758 320
p(
n+2,j)=
p(ns+1,j)
761 CALL ludbrb(
n+2,
n+2,0.,0.,-drobo(3),-drobo(4),-drobo(5))
766 CALL ludbrb(4,ns,robo(1),robo(2),drobo(3),drobo(4),drobo(5))
773 IF(ilep.NE.0)
k(21,1)=11
779 IF(ifls(jt).EQ.0) kfl(1,jt)=21
780 330 pyvar(30+jt)=xs(jt)