OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_definter_type02.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_read_definter_type02 ../starter/source/general_controls/default_values/hm_read_definter_type02.F
25!||--- called by ------------------------------------------------------
26!|| hm_read_definter ../starter/source/general_controls/default_values/hm_read_definter.F
27!||--- calls -----------------------------------------------------
28!|| definter ../starter/source/interfaces/interf1/definter.F
29!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.F
30!||--- uses -----------------------------------------------------
31!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.f
32!|| message_mod ../starter/share/message_module/message_mod.f
33!|| submodel_mod ../starter/share/modules1/submodel_mod.F
34!||====================================================================
35 SUBROUTINE hm_read_definter_type02(NTYP , DEF_INTER, LSUBMODEL)
36C============================================================================
37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE message_mod
44C-----------------------------------------------
45C I m p l i c i t T y p e s
46C-----------------------------------------------
47#include "implicit_f.inc"
48C-----------------------------------------------
49C C o m m o n B l o c k s
50C-----------------------------------------------
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER NTYP
55 INTEGER DEF_INTER(100)
56 TYPE(submodel_data) LSUBMODEL(NSUBMOD)
57C-----------------------------------------------
58C C o m m o n B l o c k s
59C-----------------------------------------------
60#include "units_c.inc"
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER IGNORE,ILEV,IBUC,IDEL2,IGSTI,IPRINT,IASSIGN
65 CHARACTER(LEN=NCHARKEY) :: OPT,KEY,KEY1
66 LOGICAL IS_AVAILABLE
67C============================================================================
68C READING DEFAULT VALUES INTERFACE TYPE02 (/DEFAULT/INTER/TYPE02)
69C============================================================================
70 ibuc=0
71 ilev = 0
72 idel2 = 0
73 igsti = 0
74 iassign = 0
75C---------------------------------------------------------------
76C
77 iprint=0
78 CALL hm_get_intv('Ignore',ignore,is_available,lsubmodel)
79 CALL hm_get_intv('WFLAG',ilev,is_available,lsubmodel)
80 CALL hm_get_intv('Isearch',ibuc,is_available,lsubmodel)
81 CALL hm_get_intv('NodDel2',idel2,is_available,lsubmodel)
82C
83 key1='IGNORE'
84 CALL definter(key1 ,ignore ,iassign ,iprint ,
85 . ntyp ,def_inter)
86C
87 key1='ILEV'
88 CALL definter(key1 ,ilev ,iassign ,iprint ,
89 . ntyp ,def_inter)
90C
91 key1='IBUC'
92 CALL definter(key1 ,ibuc ,iassign ,iprint ,
93 . ntyp ,def_inter)
94C
95 key1='IDEL2'
96 CALL definter(key1 ,idel2 ,iassign ,iprint ,
97 . ntyp ,def_inter)
98C
99 IF (ilev == 25 .or. ilev == 26 .or. ilev == 27 .or. ilev == 28) THEN
100C
101 CALL hm_get_intv('Istf',igsti,is_available,lsubmodel)
102C
103 key1='IGSTI'
104 CALL definter(key1 ,igsti ,iassign ,iprint ,
105 . ntyp ,def_inter)
106 ENDIF
107C
108C----------------------------------------------------
109C DEFAULT VALUES PRINT
110C----------------------------------------------------
111 iprint = 1
112c
113 key1='IGNORE'
114 CALL definter(key1 ,ignore ,iassign ,iprint ,
115 . ntyp ,def_inter)
116C
117 key1='ILEV'
118 CALL definter(key1 ,ilev ,iassign ,iprint ,
119 . ntyp ,def_inter)
120C
121 key1='IBUC'
122 CALL definter(key1 ,ibuc ,iassign ,iprint ,
123 . ntyp ,def_inter)
124C
125 key1='IDEL2'
126 CALL definter(key1 ,idel2 ,iassign ,iprint ,
127 . ntyp ,def_inter)
128C
129 IF (ilev == 25 .or. ilev == 26 .or. ilev == 27 .or. ilev == 28) THEN
130 key1='IGSTI'
131 CALL definter(key1 ,igsti ,iassign ,iprint ,
132 . ntyp ,def_inter)
133 WRITE(iout,5102) ignore,ilev,ibuc,idel2,igsti
134 ELSE
135 WRITE(iout,5002) ignore,ilev,ibuc,idel2
136 ENDIF
137
138C--------------------------------------------------------------
139 RETURN
140C--------------------------------------------------------------
141
142 5002 FORMAT(/
143 . ' INTERFACE TYPE 2 ' //,
144 . ' IGNORE FLAG . . . . . . . . . . . . . . . ',i5/
145 . ' FORMULATION LEVEL . . . . . . . . . . . . ',i5/,
146 . ' SEARCH FORMULATION. . . . . . . . . . . . ',i5/,
147 . ' DELETION FLAG CASE FAILURE '/,
148 . ' OF MAIN ELEMENT . . . . . . . . . . . . ..',i5/)
149C
150 5102 FORMAT(/
151 . ' INTERFACE TYPE 2 ' //,
152 . ' IGNORE FLAG . . . . . . . . . . . . . . . ',i5/
153 . ' FORMULATION LEVEL . . . . . . . . . . . . ',i5/,
154 . ' SEARCH FORMULATION. . . . . . . . . . . . ',i5/,
155 . ' DELETION FLAG CASE FAILURE '/,
156 . ' OF MAIN ELEMENT . . . . . . . . . . . .. .',i5/,
157 . ' INTERFACE STIFFNESS DEFINITION FLAG . . . ',i5/)
158C
159C--------------------------------------------------------------
160 END
subroutine definter(key, ival, flag, iprint, ityp, def_inter)
Definition definter.F:46
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_read_definter_type02(ntyp, def_inter, lsubmodel)
integer, parameter ncharkey
integer nsubmod
program starter
Definition starter.F:39