49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
75 use element_mod , only : nixs,nixq,nixc,nixt,nixp,nixr,nixtg
76
77
78
79#include "implicit_f.inc"
80
81
82
83#include "radioss_maptable.inc"
84#include "com04_c.inc"
85#include "param_c.inc"
86#include "scr17_c.inc"
87
88
89
90 INTEGER, INTENT(IN) :: IPART(LIPART1,*),SH4TREE(*),
91 . SH3TREE(*),IXS(NIXS,*),IXC(NIXC,*),IXTG(NIXTG,*),IXS10(6,*),
92 . IXQ(NIXQ,*),IXT(NIXT,*),IXP(NIXP,*),IXR(NIXR,*),IPARTS(*),
93 . IPARTQ(*),IPARTC(*),IPARTG(*),IPARTT(*),IPARTP(*),IPARTR(*),
94 . KNOD2ELS(*),KNOD2ELC(*),KNOD2ELTG(*),NOD2ELS(*),NOD2ELC(*),
95 . NOD2ELTG(*),NOD2ELQ(*),KNOD2ELQ(*)
96 INTEGER JCLAUSE, OPT_A, OPT_O, OPT_E
97
98 INTEGER, INTENT(IN), DIMENSION(NUMNOD,2) :: ITABM1
99 INTEGER, INTENT(IN), DIMENSION(NRBODY,2) :: IRBODYM
100 INTEGER, INTENT(IN), DIMENSION(2,NRBODY) :: RBY_MSN
101
102
103
104 LOGICAL :: IS_AVAILABLE
106 . x(3,*),skew(lskew,*)
107 CHARACTER(LEN=NCHARFIELD) :: KEYSET
108 CHARACTER(LEN=NCHARTITLE) :: SET_TITLE
109 TYPE (SET_SCRATCH) :: DELBUF
110
111 TYPE (SET_) :: CLAUSE
112 TYPE(SUBMODEL_DATA),INTENT(IN) :: (*)
113 TYPE (BOX_) , DIMENSION(NBBOX) :: IBOX
114
115
116
117 INTEGER BOXTYPE, SURF_LIST,
118
119 INTEGER ADMBID
120 DATA admbid/0/
121
122
123
124
125 IF (keyset == 'BOX') boxtype = 1
126 IF (keyset == 'BOX2') boxtype = 2
127
128
129
130
131
132
133
134
136 . clause ,itabm1 ,jclause ,is_available ,lsubmodel,
137 . ibox ,x ,skew ,set_title ,keyset )
138
139
140
141 IF (numels > 0)
143 * clause ,iparts ,jclause ,is_available ,lsubmodel,
144 * ibox ,x ,skew ,set_title ,keyset ,
145 * boxtype ,numels ,nixs ,ixs ,8 ,
146 * ipart ,admbid ,admbid ,admbid ,elt_solid)
147
148
149 IF (numelq > 0)
151 * clause ,ipartq ,jclause ,is_available ,lsubmodel,
152 * ibox ,x ,skew ,set_title ,keyset ,
153 * boxtype ,numelq ,nixq ,ixq ,4 ,
154 * ipart ,admbid ,admbid ,admbid ,elt_quad )
155
156
157 IF (numelc > 0)
159 * clause ,ipartc ,jclause ,is_available ,lsubmodel,
160 * ibox ,x ,skew ,set_title ,keyset ,
161 * boxtype ,numelc ,nixc ,ixc ,4 ,
162 * ipart ,sh4tree ,3 ,ksh4tree ,elt_sh4n )
163
164
165 IF (numeltg > 0 .AND. numeltria == 0)
167 * clause ,ipartg ,jclause ,is_available ,lsubmodel,
168 * ibox ,x ,skew ,set_title ,keyset ,
169 * boxtype ,numeltg ,nixtg ,ixtg ,3 ,
170 * ipart ,sh3tree ,3 ,ksh3tree ,elt_sh3n )
171
172
173 IF (numeltria > 0)
175 * clause ,ipartg ,jclause ,is_available ,lsubmodel,
176 * ibox ,x ,skew ,set_title ,keyset ,
177 * boxtype ,numeltria,nixtg ,ixtg ,3 ,
178 * ipart ,admbid ,admbid ,admbid ,elt_tria )
179
180
181 IF (numelt > 0)
183 * clause ,ipartt ,jclause ,is_available ,lsubmodel,
184 * ibox ,x ,skew ,set_title ,keyset ,
185 * boxtype ,numelt ,nixt ,ixt ,2 ,
186 * ipart ,admbid ,admbid ,admbid ,elt_truss)
187
188
189 IF (numelp > 0)
191 * clause ,ipartp ,jclause ,is_available ,lsubmodel,
192 * ibox ,x ,skew ,set_title ,keyset ,
193 * boxtype ,numelp ,nixp ,ixp ,2 ,
194 * ipart ,admbid ,admbid ,admbid ,elt_beam )
195
196
197 IF (numelr > 0)
199 * clause ,ipartr ,jclause ,is_available ,lsubmodel,
200 * ibox ,x ,skew ,set_title ,keyset ,
201 * boxtype ,numelr ,nixr ,ixr ,2 ,
202 * ipart ,admbid ,admbid ,admbid ,elt_spring)
203
204
205
206 line_list_1d = clause%NB_TRUSS + clause%NB_BEAM + clause%NB_SPRING
207 IF (line_list_1d > 0)
208
209
211 * .false. )
212
213
214
215 surf_list = clause%NB_SOLID + clause%NB_QUAD +
216 + clause%NB_SH4N + clause%NB_SH3N
217 IF (surf_list > 0) THEN
218
219
221 * ixs ,ixs10 ,sh4tree ,sh3tree ,ixc ,
222 * ixtg ,knod2els ,nod2els ,knod2elc ,nod2elc ,
223 * knod2eltg ,nod2eltg ,ipartc ,ipartg ,iparts ,
224 * ipart ,clause ,opt_a ,opt_o ,ixq ,
225 * knod2elq ,nod2elq ,x ,keyset ,delbuf ,
226 * .false. ,ipartq )
227
228
230 . .false.)
231 ENDIF
232
233
234
235 IF (clause%NB_RBODY > 0) THEN
237 . ibox ,x ,skew ,set_title ,keyset ,
238 . rby_msn )
239 ENDIF
240
subroutine create_elt_box(clause, iparte, jclause, is_available, lsubmodel, ibox, x, skew, set_title, keyset, boxtype, numel, nix, ix, nix1, ipart, eltree, klevtree, keltree, eltyp)
subroutine create_line_from_element(ixt, ixp, ixr, clause, delbuf, go_in_array)
subroutine create_line_from_surface(clause, keyset, opt_a, opt_e, delbuf, go_in_array)
subroutine create_node_box(clause, itabm1, jclause, is_available, lsubmodel, ibox, x, skew, set_title, keyset)
subroutine create_rbody_box(clause, irbodym, jclause, is_available, lsubmodel, ibox, x, skew, set_title, keyset, rby_msn)
subroutine create_surface_from_element(ixs, ixs10, sh4tree, sh3tree, ixc, ixtg, knod2els, nod2els, knod2elc, nod2elc, knod2eltg, nod2eltg, ipartc, ipartg, iparts, ipart, clause, opt_a, opt_o, ixq, knod2elq, nod2elq, x, keyset, delbuf, go_in_array, ipartq)
integer, parameter nchartitle
integer, parameter ncharfield