OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_convert_inter_type19.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
!|| hm_convert_inter_type19 ../starter/source/devtools/hm_reader/hm_convert_inter_type19.F
25
!||--- called by ------------------------------------------------------
26
!|| starter0 ../starter/source/starter/starter0.F
27
!||--- calls -----------------------------------------------------
28
!|| hm_option_count ../starter/source/devtools/hm_reader/hm_option_count.F
29
!|| hm_option_next ../starter/source/devtools/hm_reader/hm_option_next.F
30
!|| hm_option_start ../starter/source/devtools/hm_reader/hm_option_start.F
31
!||--- uses -----------------------------------------------------
32
!|| message_mod ../starter/share/message_module/message_mod.F
33
!|| submodel_mod ../starter/share/modules1/submodel_mod.F
34
!||====================================================================
35
SUBROUTINE
hm_convert_inter_type19
(IDMAX_INTER,IDMAX_GRNOD,IDMAX_LINE,LSUBMODEL)
36
C-----------------------------------------------
37
C ROUTINE DESCRIPTION :
38
C ===================
39
C ROUTINE TO CONVERT /INTER/TYPE19 -> /INTER/TYPE11 + /GRNOD + LINE
40
C-----------------------------------------------
41
C DUMMY ARGUMENTS DESCRIPTION:
42
C ===================
43
C
44
C NAME DESCRIPTION
45
C
46
C IDMAX_INTER MAX ID INTERFACES
47
C IDMAX_GRNOD MAX ID GRNODES
48
C IDMAX_LINE MAX ID LINES
49
C LSUBMODEL SUBMODEL STRUCTURE
50
C============================================================================
51
C M o d u l e s
52
C-----------------------------------------------
53
USE
message_mod
54
USE
submodel_mod
55
C-----------------------------------------------
56
C I m p l i c i t T y p e s
57
C-----------------------------------------------
58
#include "implicit_f.inc"
59
C-----------------------------------------------
60
C D u m m y A r g u m e n t s
61
C-----------------------------------------------
62
C INPUT ARGUMENTS
63
INTEGER
,
INTENT(IN)
::IDMAX_INTER,IDMAX_GRNOD,IDMAX_LINE
64
TYPE
(
submodel_data
),
INTENT(IN)
::LSUBMODEL(*)
65
C-----------------------------------------------
66
C L o c a l V a r i a b l e s
67
C-----------------------------------------------
68
INTEGER
I,NBINTER19,OFFSET,ISFIRST
69
C-----------------------------------------------
70
CALL
hm_option_count
(
'/INTER/TYPE19'
, nbinter19)
71
CALL
hm_option_start
(
'/INTER/TYPE19'
)
72
DO
i=1,nbinter19
73
isfirst = 1
74
CALL
hm_option_next
()
75
offset = 0
76
CALL
cpp_convert_inter_type19(idmax_inter,idmax_grnod
,idmax_line,offset,isfirst)
77
ENDDO
78
C--------------------------------------------------
79
C DELETE TYPE19 INTERFACES
80
C--------------------------------------------------
81
DO
i=
1,nbinter19
82
CALL
hm_option_start
(
'/INTER/TYPE19'
)
83
CALL
hm_option_next
()
84
CALL
cpp_delete_entity()
85
ENDDO
86
C--------------------------------------------------
87
RETURN
88
C
89
END
90
hm_convert_inter_type19
subroutine hm_convert_inter_type19(idmax_inter, idmax_grnod, idmax_line, lsubmodel)
Definition
hm_convert_inter_type19.F:36
hm_option_count
subroutine hm_option_count(entity_type, hm_option_number)
Definition
hm_option_count.F:105
hm_option_next
subroutine hm_option_next()
Definition
hm_option_next.F:39
hm_option_start
subroutine hm_option_start(entity_type)
Definition
hm_option_start.F:251
message_mod
Definition
message_mod.F:1249
submodel_mod
Definition
submodel_mod.F:712
submodel_mod::submodel_data
Definition
submodel_mod.F:723
starter
source
devtools
hm_reader
hm_convert_inter_type19.F
Generated by
1.15.0