21 ilist(1) = 2*npairs - 1
31 IF (icomp.LE.ilist(2))
THEN
39 IF (icomp.NE.ilist(1))
THEN
50 IF (list(2,j).GT.jcomp) go to 40
59 IF (list(l,j).GT.jcomp) go to 30
62 IF (list(l,j).EQ.ilist(k))
THEN
69 IF (ilist(k).EQ.icomp.OR.ilist(k).EQ.jcomp)
78 30
IF (nnb1.EQ.0) go to 40
86 IF (inew.LT.ifirst)
THEN
87 IF (nij.EQ.2.OR.j.LT.ifirst - 3) inew = ntot
92 IF (list(ls,j).LT.ilist(ktime)) ls = ls + 1
93 IF (list(ls,j).GT.ilist(ktime)) ls = ls - 1
98 IF (inew.LT.ilist(ktime))
THEN
101 IF (list(l-1,j).GT.inew)
THEN
102 list(l,j) = list(l-1,j)
108 ELSE IF (inew.GT.ilist(ktime))
THEN
111 IF (list(l+1,j).LT.inew)
THEN
112 list(l,j) = list(l+1,j)
124 IF (nij.EQ.2) list(1,j) = nnb - 1
131 IF (listr(l).EQ.icomp.OR.listr(l).EQ.jcomp)
THEN
136 listr(k) = listr(k+2)
138 listr(1) = listr(1) - 2
147 IF (listr(l).EQ.2*npairs - 2 + kcomp)
THEN
148 IF (kcomp.EQ.1) listr(l) = icomp
149 IF (kcomp.EQ.2) listr(l) = jcomp
155 IF (listv(1).EQ.0) go to 70
160 IF (listv(l).EQ.icomp.OR.listv(l).EQ.jcomp)
THEN
162 listv(k) = listv(k+1)
164 listv(1) = listv(1) - 1
169 IF (l.LE.nnb) go to 50
174 IF (listv(l).EQ.2*npairs - 2 + kcomp)
THEN
175 IF (kcomp.EQ.1) listv(l) = icomp
176 IF (kcomp.EQ.2) listv(l) = jcomp
184 IF (listv(1).EQ.0) go to 70
186 a0 = xdot(1,j)**2 + xdot(2,j)**2 + xdot(3,j)**2
187 a2 = (x(1,j) - rdens(1))**2 + (x(2,j) - rdens(2))**2 +
188 & (x(3,j) - rdens(3))**2
189 IF (a0.LT.16.0*eclose.OR.a2.GT.4.0*rscale**2)
THEN
191 listv(k) = listv(k+1)
193 listv(1) = listv(1) - 1
198 IF (l.LE.nnb) go to 60