OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
triins.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
C
24
!||====================================================================
25
!|| triins ../common_source/tools/sort/triins.F
26
!||--- called by ------------------------------------------------------
27
!|| trirap ../common_source/tools/sort/trirap.F
28
!||--- calls -----------------------------------------------------
29
!|| echang ../common_source/tools/sort/echang.F
30
!|| icompc ../common_source/tools/sort/icompc.F
31
!||====================================================================
32
SUBROUTINE
triins
(N,TAB,N2)
33
C-----------------------------------------------
34
C I m p l i c i t T y p e s
35
C-----------------------------------------------
36
#include "implicit_f.inc"
37
C-----------------------------------------------
38
C D u m m y A r g u m e n t s
39
C-----------------------------------------------
40
INTEGER
N, N2
41
C REAL
42
my_real
43
. tab(*)
44
C-----------------------------------------------
45
C L o c a l V a r i a b l e s
46
C-----------------------------------------------
47
INTEGER
K, L
48
C-----------------------------------------------
49
C E x t e r n a l F u n c t i o n s
50
C-----------------------------------------------
51
INTEGER
ICOMPC
52
C-----------------------------------------------
53
C S o u r c e L i n e s
54
C-----------------------------------------------
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
67
END
my_real
#define my_real
Definition
cppsort.cpp:32
echang
subroutine echang(i, j, tab)
Definition
echang.F:31
triins
subroutine triins(n, tab, n2)
Definition
triins.F:33
common_source
tools
sort
triins.F
Generated by
1.15.0