Nbody6
 All Files Functions Variables
inext.f
Go to the documentation of this file.
1  subroutine inext(NQ,LISTQ,TMIN,length,nxtlst)
2 *
3 * Next time-step block.
4 * ---------------------
5 *
6  include 'common6.h'
7  integer length,j,nq,nxtlst(*),listq(*)
8 *
9 * Find all new times equal to TMIN.
10  length = 0
11  do 10 l = 1,nq
12  j = listq(l)
13  if (tnew(j) .eq. tmin) then
14  length = length + 1
15  nxtlst(length) = j
16  end if
17  10 continue
18 *
19  return
20  end