OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_definter_type02.F File Reference
#include "implicit_f.inc"
#include "units_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine hm_read_definter_type02 (ntyp, def_inter, lsubmodel)

Function/Subroutine Documentation

◆ hm_read_definter_type02()

subroutine hm_read_definter_type02 ( integer ntyp,
integer, dimension(100) def_inter,
type(submodel_data), dimension(nsubmod) lsubmodel )

Definition at line 35 of file hm_read_definter_type02.F.

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) :: 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--------------------------------------------------------------
subroutine definter(key, ival, flag, iprint, ityp, def_inter)
Definition definter.F:46
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
integer, parameter ncharkey
integer nsubmod