OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
redkey2.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
!||====================================================================
24
!|| redkey2 ../engine/source/input/redkey2.F
25
!||--- uses -----------------------------------------------------
26
!|| names_and_titles_mod ../common_source/modules/names_and_titles_mod.F
27
!||====================================================================
28
SUBROUTINE
redkey2
(KEY2,LK2,KEY0,NKEY,CARTE,IKEY)
29
C-----------------------------------------------
30
C M o d u l e s
31
C-----------------------------------------------
32
USE
names_and_titles_mod
,
ONLY
:
ncharline100
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
38
C-----------------------------------------------
39
C D u m m y A r g u m e n t s
40
C-----------------------------------------------
41
INTEGER
LK2,
NKEY
, IKEY
42
CHARACTER
KEY2*80
43
CHARACTER(LEN=NCHARLINE100)
:: CARTE
44
CHARACTER
KEY0(NKEY)*5
45
C-----------------------------------------------
46
C L o c a l V a r i a b l e s
47
C-----------------------------------------------
48
INTEGER
JK, I, J
49
CHARACTER
KEY1*80
50
C-----------------------------------------------
51
key1=
' '
52
key2=
' '
53
jk=0
54
j=0
55
DO
i=1,
ncharline100
56
IF
(carte(i:i)=='/
')THEN
57
JK=JK+1
58
J=0
59
ELSEIF(CARTE(I:I)/='
.AND.
'JK==1)THEN
60
J=J+1
61
KEY1(J:J)=CARTE(I:I)
62
ELSEIF(CARTE(I:I)/='
.AND.
'JK==2)THEN
63
J=J+1
64
LK2=J
65
KEY2(J:J)=CARTE(I:I)
66
ENDIF
67
ENDDO
68
C
69
DO IKEY=1,NKEY
70
IF(KEY1==KEY0(IKEY))RETURN
71
ENDDO
72
73
IKEY=0
74
C
75
RETURN
76
END
names_and_titles_mod
Definition
names_and_titles_mod.F:997
names_and_titles_mod::ncharline100
integer, parameter ncharline100
Definition
names_and_titles_mod.F:1002
redkey2
subroutine redkey2(key2, lk2, key0, nkey, carte, ikey)
Definition
redkey2.F:29
engine
source
input
redkey2.F
Generated by
1.15.0