OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_convert_inter_type19.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> 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)
36C-----------------------------------------------
37C ROUTINE DESCRIPTION :
38C ===================
39C ROUTINE TO CONVERT /INTER/TYPE19 -> /INTER/TYPE11 + /GRNOD + LINE
40C-----------------------------------------------
41C DUMMY ARGUMENTS DESCRIPTION:
42C ===================
43C
44C NAME DESCRIPTION
45C
46C IDMAX_INTER MAX ID INTERFACES
47C IDMAX_GRNOD MAX ID GRNODES
48C IDMAX_LINE MAX ID LINES
49C LSUBMODEL SUBMODEL STRUCTURE
50C============================================================================
51C M o d u l e s
52C-----------------------------------------------
53 USE message_mod
54 USE submodel_mod
55C-----------------------------------------------
56C I m p l i c i t T y p e s
57C-----------------------------------------------
58#include "implicit_f.inc"
59C-----------------------------------------------
60C D u m m y A r g u m e n t s
61C-----------------------------------------------
62C INPUT ARGUMENTS
63 INTEGER,INTENT(IN)::IDMAX_INTER,IDMAX_GRNOD,IDMAX_LINE
64 TYPE(submodel_data),INTENT(IN)::LSUBMODEL(*)
65C-----------------------------------------------
66C L o c a l V a r i a b l e s
67C-----------------------------------------------
68 INTEGER I,NBINTER19,OFFSET,ISFIRST
69C-----------------------------------------------
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
78C--------------------------------------------------
79C DELETE TYPE19 INTERFACES
80C--------------------------------------------------
81 DO i=1,nbinter19
82 CALL hm_option_start('/INTER/TYPE19')
83 CALL hm_option_next()
84 CALL cpp_delete_entity()
85 ENDDO
86C--------------------------------------------------
87 RETURN
88C
89 END
90
subroutine hm_convert_inter_type19(idmax_inter, idmax_grnod, idmax_line, lsubmodel)
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_next()
subroutine hm_option_start(entity_type)