Nbody6
 All Files Functions Variables
chfind.f
Go to the documentation of this file.
1  SUBROUTINE chfind
2 *
3 *
4 * Identification of global chain index.
5 * -------------------------------------
6 *
7  include 'common6.h'
8  common/chainc/ xc(3,ncmax),uc(3,ncmax),bodyc(ncmax),ich,
9  & listc(lmax)
10 *
11 *
12 * Re-determine global chain index & perturber list after switching.
13  DO 10 i = ifirst,n
14  IF (name(i).EQ.0) THEN
15  ich = i
16 * Update the chain perturber list consistently with new sequence.
17  CALL chlist(ich)
18 * Resolve global coordinates & velocities of subsystem.
19  CALL xcpred(0)
20  go to 20
21  END IF
22  10 CONTINUE
23 *
24  20 RETURN
25 *
26  END