OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hord.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine hord (nel, nsel)

Function/Subroutine Documentation

◆ hord()

subroutine hord ( integer, dimension(*) nel,
integer nsel )

Definition at line 34 of file hord.F.

35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER NSEL
43 INTEGER NEL(*)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER :: J2, I2, I, NEL1, 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)
Definition my_orders.c:82