1 SUBROUTINE findj(I,J,IMERGE)
8 common/binary/ cm(4,mmax),xrel(3,mmax),vrel(3,mmax),
9 & hm(mmax),um(4,mmax),umdot(4,mmax),tmdis(mmax),
10 & namem(mmax),nameg(mmax),kstarm(mmax),iflag(mmax)
18 IF (i.LE.n.OR.name(icm).GE.0)
THEN
19 WRITE (6,1) i, name(i), ifirst, n
20 1
FORMAT (
' WARNING! FINDJ I NAM I* N ',4i6)
27 IF (name(icm).GE.0) go to 30
33 IF (namem(k).EQ.name(icm))
THEN
37 IF (imerge.EQ.0) go to 30
41 IF (name(k).EQ.nameg(imerge))
THEN
47 20
IF (j.GT.0.AND.body(j).GT.0.0d0)
THEN
48 WRITE (6,25) i, jp, name(icm), j, body(j)
49 25
FORMAT (
' WARNING! FINDJ I JP NAM J MJ',2i5,2i6,1p,e9.1)
54 30
IF (imerge.EQ.0) imerge = 1