41 SUBROUTINE reduce(JMIN,JMAX,LBIT,NOV,LX,NDG,IBIT,JBIT,KBIT,
46 dimension jmin(ndg),jmax(ndg),lbit(ndg),nov(ndg)
47 dimension newbox(ndg),newboxp(ndg)
49 dimension ntotbt(0:31),nboxj(0:31)
73 iorigb=(ibit+jbit+kbit)*lx
93 DO 200 j=min(30,kbit-1),2,-1
102 IF(nov(l).LT.ibxx2(j))
THEN
109 m=(nov(l)-1)/(ibxx2(j)-1)+1
114 130 novl=(nov(l)+m-1)/m
119 IF(novl.LT.ibxx2(j))
THEN
137 ntotbt(j)=(ibit+jbit)*(lx+newboxt)+j*(lx+newboxt)
139 IF(ntotbt(j).GE.ntotpr)
THEN
181 250 pimp=((iorigb-ntotbt(jj))/float(iorigb))*100.
231 IF(newboxp(l)*(ibxx2m1+novref)+novref.GT.nov(l)+novref)
THEN
235 movmin=(nov(l)-(newboxp(l))*novref)/newboxp(l)
247 IF(newboxp(l).GT.0)
THEN
248 IF((movmin+novref)*newboxp(l)+novref.LE.nov(l)+novref.
249 1 and.(movmin+novref)*(newboxp(l)+1).GE.nov(l)+novref)
THEN
266 288
DO 290 j=1,newboxp(l)+1
267 move=min(movmin,left)
273 left=left-(move+novref)
278 IF(left.NE.-novref)
THEN
subroutine reduce(JMIN, JMAX, LBIT, NOV, LX, NDG, IBIT, JBIT, KBIT, NOVREF, IBXX2, IER)
This subroutine determines whether the number of groups should be increased in order to reduce the si...