Go to the documentation of this file.
3 o lblclm, timclm, briclm, gciclm, vrmclm, vrpclm, nobclm,
4 o mrkclm, idfclm, nrfclm, mapclm, skyclm, klmstr, idfhst)
42 INTEGER*4 LEVDBG(8),LUDBUG
43 COMMON /cmdebg/levdbg,ludbug
102 real*4 briclm(*), gciclm(3,*), vrmclm(*) , vrpclm(*)
103 real*4 skyclm(10,3,*)
105 INTEGER*4 NUMCLM , NUMSTR , IFXCLM , LBLCLM(*)
106 INTEGER*4 NOBCLM(*) , MRKCLM(*), IDFCLM(*) , NRFCLM(*)
107 INTEGER*4 MAPCLM(10,*), KLMSTR(*), IDFHST(*)
110 INTEGER*4 ICLM , IPREV, IOBS, ITEMP
114 WRITE(*,*)
'ENTERING SORTCL'
115 IF (levdbg(7) .NE. 0)
WRITE (ludbug,1000)
121 IF (.NOT. l_done)
THEN
123 DO 300 iclm = 2,numclm
125 IF (nrfclm(iclm) .LE. nrfclm(iprev))
THEN
126 IF ((nrfclm(iclm) .LT. nrfclm(iprev)).OR.
127 * (vrpclm(iclm) .LT. vrpclm(iprev)))
THEN
131 idfhst(iclm) = idfhst(iprev)
132 idfhst(iprev) = itemp
134 CALL swapcl (iclm , iprev , ifxclm,
135 1 lblclm, timclm, briclm, gciclm, vrmclm, vrpclm,
136 2 nobclm, mrkclm, idfclm, nrfclm, mapclm, skyclm)
139 DO 200 iobs = 1,numstr
140 IF (klmstr(iobs) .EQ. iprev)
THEN
142 ELSE IF (klmstr(iobs) .EQ. iclm)
THEN
153 IF (levdbg(7) .NE. 0)
WRITE (ludbug,2000)
154 WRITE(*,*)
'EXIT SORTCL'
158 1000
FORMAT(
' *** ENTER SORTCL *** ')
159 2000
FORMAT(
' *** EXIT SORTCL *** ')
subroutine swapcl(ICLMP1, ICLMP2, IFXCLM, LBLCLM, TIMCLM, BRICLM, GCICLM, VRMCLM, VRPCLM, NOBCLM, MRKCLM, IDFCLM, NRFCLM, MAPCLM, SKYCLM)
subroutine sortcl(NUMCLM, NUMSTR, IFXCLM, LBLCLM, TIMCLM, BRICLM, GCICLM, VRMCLM, VRPCLM, NOBCLM, MRKCLM, IDFCLM, NRFCLM, MAPCLM, SKYCLM, KLMSTR, IDFHST)