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

Go to the source code of this file.

Functions/Subroutines

subroutine triins (n, tab, n2)

Function/Subroutine Documentation

◆ triins()

subroutine triins ( integer n,
tab,
integer n2 )

Definition at line 32 of file triins.F.

33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C D u m m y A r g u m e n t s
39C-----------------------------------------------
40 INTEGER N, N2
41C REAL
43 . tab(*)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER K, L
48C-----------------------------------------------
49C E x t e r n a l F u n c t i o n s
50C-----------------------------------------------
51 INTEGER ICOMPC
52C-----------------------------------------------
53C S o u r c e L i n e s
54C-----------------------------------------------
55 DO 10 k=2,n
56 l=k-1
57 150 IF(l>=1) THEN
58 IF(icompc(l,l+1,tab)>0) THEN
59 CALL echang(l,l+1,tab)
60 CALL echang(n2+l,n2+l+1,tab)
61 l=l-1
62 GO TO 150
63 ENDIF
64 ENDIF
65 10 CONTINUE
66 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine echang(i, j, tab)
Definition echang.F:31
integer function icompc(i, j, tab)
Definition icompc.F:31