35
36
37
42
43
44
45#include "implicit_f.inc"
46
47
48
49#include "com04_c.inc"
50#include "com_engcards_c.inc"
51#include "scr15_c.inc"
52
53
54
55 TYPE(GROUP_) ,DIMENSION(NGRPART) :: IGRPART
56 INTEGER,INTENT(IN)::IS_DYNA
57 INTEGER,INTENT(IN)::NB_DYNA_INCLUDE
58
59
60
61 CHARACTER FILNAM*512
62 INTEGER I,IOUT_1RAD,LEN_FILNAM,CPT,NRUN,NPARITH_ENG,NTH_TITLE_ENG,
63 . NSTATE_ENG,NDYNAIN_ENG
64
65
66
67
68
69
70 IF(nb_dyna_include .NE. 0) THEN
71 filnam = 'DYNA_INCLUDE_0001.rad'
72 len_filnam=21
73 ELSE
74 filnam =rootnam(1:rootlen)//'_0001.rad'
75 len_filnam=rootlen+9
76 ENDIF
77 CALL cpp_model_open_file(filnam,len_filnam)
78
79
80
82
83
84
85 DO cpt=1,nanim_eng
86 CALL cpp_global_entity_sdi_write(is_dyna)
87 ENDDO
88
89
90
92
94
95
96
97 DO cpt=1,nrun
98 CALL cpp_global_entity_sdi_write(is_dyna)
99 ENDDO
100
101
102
104
105
106
107 DO cpt=1,ntfile_eng
108 CALL cpp_global_entity_sdi_write(is_dyna)
109 ENDDO
110
111
112
114
115
116
117 DO cpt=1,nrfile_eng
118 CALL cpp_global_entity_sdi_write(is_dyna)
119 ENDDO
120
121
122
124
125
126
127 DO cpt=1,nstop_eng
128 CALL cpp_global_entity_sdi_write(is_dyna)
129 ENDDO
130
131
132
134
135
136
137 DO cpt=1,ndt_eng
138 CALL cpp_global_entity_sdi_write(is_dyna)
139 ENDDO
140
141
142
144
145
146
147 DO cpt=1,nvers_eng
148 CALL cpp_global_entity_sdi_write(is_dyna)
149 ENDDO
150
151
152
155
156
157
158 DO CPT=1,NPARITH_ENG
159 CALL CPP_GLOBAL_ENTITY_SDI_WRITE(IS_DYNA)
160 ENDDO
161
162
163
164 CALL HM_OPTION_COUNT('/th/title',NTH_TITLE_ENG)
165 CALL HM_OPTION_START('/th/title')
166
167
168
169 DO CPT=1,NTH_TITLE_ENG
170 CALL CPP_GLOBAL_ENTITY_SDI_WRITE(IS_DYNA)
171 ENDDO
172
173
174
175 CALL HM_OPTION_COUNT('/state',NSTATE_ENG)
176 CALL HM_OPTION_START('/state')
177
178
179
180 DO CPT=1,NSTATE_ENG
181 CALL CPP_GLOBAL_ENTITY_SDI_WRITE(IS_DYNA)
182 ENDDO
183
184
185
186 CALL HM_OPTION_COUNT('/dynain',NDYNAIN_ENG)
187 CALL HM_OPTION_START('/dynain')
188
189
190
191 DO CPT=1,NDYNAIN_ENG
192 CALL CPP_GLOBAL_ENTITY_SDI_WRITE(IS_DYNA)
193 ENDDO
194
195
196
197 CALL CPP_MODEL_CLOSE_FILE()
198
199
200
201
202 RETURN
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_start(entity_type)