Go to the source code of this file.
|
subroutine | isortid (ix, dy, n, kflag) |
|
◆ isortid()
subroutine isortid |
( |
integer, dimension(*) |
ix, |
|
|
real*8, dimension(*) |
dy, |
|
|
integer |
n, |
|
|
integer |
kflag |
|
) |
| |
71 integer i, ij, j, k, kk, l, m, nn, t, tt
73 integer il(31), iu(31)
87 if (kk.ne.1 .and. kk.ne.2)
then 96 if (kflag .le. -1)
then 102 if (kk .eq. 2)
go to 100
111 20
if (i .eq. j)
go to 60
112 if (r .le. 0.5898437e0)
then 122 ij = i + int((j-i)*r)
127 if (ix(i) .gt. t)
then 136 if (ix(j) .lt. t)
then 143 if (ix(i) .gt. t)
then 154 if (ix(l) .gt. t)
go to 40
160 if (ix(k) .lt. t)
go to 50
173 if (l-i .gt. j-k)
then 189 if (m .eq. 0)
go to 190
193 70
if (j-i .ge. 1)
go to 30
194 if (i .eq. 1)
go to 20
198 if (i .eq. j)
go to 60
200 if (ix(i) .le. t)
go to 80
205 if (t .lt. ix(k))
go to 90
216 110
if (i .eq. j)
go to 150
217 if (r .le. 0.5898437e0)
then 227 ij = i + int((j-i)*r)
233 if (ix(i) .gt. t)
then 245 if (ix(j) .lt. t)
then 255 if (ix(i) .gt. t)
then 269 if (ix(l) .gt. t)
go to 130
275 if (ix(k) .lt. t)
go to 140
291 if (l-i .gt. j-k)
then 307 if (m .eq. 0)
go to 190
311 160
if (j-i .ge. 1)
go to 120
312 if (i .eq. 1)
go to 110
316 if (i .eq. j)
go to 150
319 if (ix(i) .le. t)
go to 170
325 if (t .lt. ix(k))
go to 180
332 190
if (kflag .le. -1)
then