#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | hord (nel, nsel) |
◆ hord()
| subroutine hord |
( |
integer, dimension(*) | nel, |
|
|
integer | nsel ) |
Definition at line 34 of file hord.F.
35
36
37
38#include "implicit_f.inc"
39
40
41
42 INTEGER NSEL
43 INTEGER NEL(*)
44
45
46
47 INTEGER I, MODE
48 INTEGER, DIMENSION(:), ALLOCATABLE :: ITRI,INDX
49 INTEGER, DIMENSION(70000) :: WORK
50
51 ALLOCATE( itri(nsel) )
52 ALLOCATE( indx(2*nsel) )
53
54 itri(1:nsel) = nel(1:nsel)
55 DO i=1,nsel
56 indx(i) = i
57 ENDDO
58 mode=0
59 CALL my_orders( mode, work, itri, indx, nsel , 1)
60
61 DO i=1,nsel
62 nel(i) = itri(indx(i))
63 ENDDO
64
65 DEALLOCATE( itri )
66 DEALLOCATE( indx )
67
68 RETURN
void my_orders(int *mode, int *iwork, int *data, int *index, int *n, int *irecl)