COSMOS v7.655
COSMOSv7655
(AirShowerMC)
Main Page
Related Pages
+
Modules
Modules List
+
Module Members
+
All
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
x
+
Functions/Subroutines
c
g
m
o
+
Variables
a
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
x
+
Data Types List
Data Types List
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Files
File List
+
File Members
+
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions/Subroutines
!
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
x
y
z
+
Variables
!
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Typedefs
+
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Pages
ksortinv.f
Go to the documentation of this file.
1
subroutine
ksortinv
(idx, n)
2
implicit none
3
! invert sorted idx order
4
integer
n
5
integer
idx(n)
6
integer
i, j
7
8
do
i = 1, n/2
9
j =idx(i)
10
idx(i) = idx(n-i+1)
11
idx(n-i+1) = j
12
enddo
13
end
ksortinv
subroutine ksortinv(idx, n)
Definition:
ksortinv.f:2
KKlib
ksortinv.f
Generated by
1.8.13