1 subroutine infami ( nomail, maext0,
2 > ulsort, langue, codret )
3 c ______________________________________________________________________
7 c Outil de Maillage Adaptatif par Raffinement et Deraffinement d'EDF R&D
9 c Version originale enregistree le 18 juin 1996 sous le numero 96036
10 c aupres des huissiers de justice Simart et Lavoir a Clamart
11 c Version 11.2 enregistree le 13 fevrier 2015 sous le numero 2015/014
12 c aupres des huissiers de justice
13 c Lavoir, Silinski & Cherqui-Abrahmi a Clamart
15 c HOMARD est une marque deposee d'Electricite de France
21 c ______________________________________________________________________
23 c INformation : FAMIlles
25 c ______________________________________________________________________
27 c . nom . e/s . taille . description .
28 c .____________________________________________________________________.
29 c . nomail . e . char8 . nom de l'objet maillage homard iteration n .
30 c . maext0 . e . 1 . maillage extrude .
32 c . . . . 1 : selon X .
33 c . . . . 2 : selon Y .
34 c . . . . 3 : selon Z (cas de Saturne ou Neptune) .
35 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
36 c . langue . e . 1 . langue des messages .
37 c . . . . 1 : francais, 2 : anglais .
38 c . codret . es . 1 . code de retour des modules .
39 c . . . . 0 : pas de probleme .
40 c . . . . 2 : probleme dans les memoires .
41 c . . . . 3 : probleme dans les fichiers .
42 c . . . . 5 : probleme autre .
43 c ______________________________________________________________________
46 c 0. declarations et dimensionnement
49 c 0.1. ==> generalites
55 parameter ( nompro = 'INFAMI' )
83 integer ulsort, langue, codret
85 c 0.4. ==> variables locales
89 integer pfamno, pcfano
90 integer pfammp, pcfamp
91 integer pfamar, pcfaar
92 integer pfamtr, pcfatr
93 integer pfamqu, pcfaqu
94 integer pfamte, pcfate
95 integer pfamhe, pcfahe
96 integer pfampy, pcfapy
97 integer pfampe, pcfape
100 character*8 nhnoeu, nhmapo, nharet, nhtria, nhquad
101 character*8 nhtetr, nhhexa, nhpyra, nhpent
103 character*8 nhvois, nhsupe, nhsups
106 parameter ( nbmess = 10 )
107 character*80 texte(nblang,nbmess)
109 c 0.5. ==> initialisations
110 c ______________________________________________________________________
118 #ifdef _DEBUG_HOMARD_
119 write (ulsort,texte(langue,1)) 'Entree', nompro
126 c 2. recuperation des pointeurs
129 c 2.1. ==> structure generale
131 if ( codret.eq.0 ) then
133 #ifdef _DEBUG_HOMARD_
134 write (ulsort,texte(langue,3)) 'UTNOMH', nompro
136 call utnomh ( nomail,
138 > degre, maconf, homolo, hierar,
139 > rafdef, nbmane, typcca, typsfr, maextr,
142 > nhnoeu, nhmapo, nharet,
144 > nhtetr, nhhexa, nhpyra, nhpent,
146 > nhvois, nhsupe, nhsups,
147 > ulsort, langue, codret)
152 #ifdef _DEBUG_HOMARD_
153 write (ulsort,90002) '2.2. tableaux ; codret', codret
156 if ( codret.eq.0 ) then
158 #ifdef _DEBUG_HOMARD_
159 write (ulsort,texte(langue,3)) 'UTAD01', nompro
162 call utad01 ( iaux, nhnoeu,
164 > pfamno, pcfano, jaux,
165 > jaux, jaux, jaux, jaux,
166 > ulsort, langue, codret )
168 if ( nbmpto.ne.0 ) then
170 #ifdef _DEBUG_HOMARD_
171 write (ulsort,texte(langue,3)) 'UTAD02_mp', nompro
174 call utad02 ( iaux, nhmapo,
175 > jaux, jaux, jaux, jaux,
176 > pfammp, pcfamp, jaux,
179 > ulsort, langue, codret )
183 #ifdef _DEBUG_HOMARD_
184 write (ulsort,texte(langue,3)) 'UTAD02_ar', nompro
187 call utad02 ( iaux, nharet,
188 > jaux, jaux, jaux, jaux,
189 > pfamar, pcfaar, jaux,
192 > ulsort, langue, codret )
194 if ( nbftri.ne.0 ) then
196 #ifdef _DEBUG_HOMARD_
197 write (ulsort,texte(langue,3)) 'UTAD02_tr', nompro
200 if ( nbtrto.ne.0 ) then
203 call utad02 ( iaux, nhtria,
204 > jaux, jaux, jaux, jaux,
205 > pfamtr, pcfatr, jaux,
208 > ulsort, langue, codret )
212 if ( nbfqua.ne.0 ) then
214 #ifdef _DEBUG_HOMARD_
215 write (ulsort,texte(langue,3)) 'UTAD02_qu', nompro
218 if ( nbquto.ne.0 ) then
221 call utad02 ( iaux, nhquad,
222 > jaux, jaux, jaux, jaux,
223 > pfamqu, pcfaqu, jaux,
226 > ulsort, langue, codret )
230 if ( nbftet.ne.0 ) then
232 #ifdef _DEBUG_HOMARD_
233 write (ulsort,texte(langue,3)) 'UTAD02_te', nompro
236 if ( nbteto.ne.0 ) then
239 call utad02 ( iaux, nhtetr,
240 > jaux, jaux, jaux, jaux,
241 > pfamte, pcfate, jaux,
244 > ulsort, langue, codret )
248 if ( nbfhex.ne.0 ) then
250 #ifdef _DEBUG_HOMARD_
251 write (ulsort,texte(langue,3)) 'UTAD02_he', nompro
254 if ( nbheto.ne.0 ) then
257 call utad02 ( iaux, nhhexa,
258 > jaux, jaux, jaux, jaux,
259 > pfamhe, pcfahe, jaux,
262 > ulsort, langue, codret )
266 if ( nbfpyr.ne.0 ) then
268 #ifdef _DEBUG_HOMARD_
269 write (ulsort,texte(langue,3)) 'UTAD02_py', nompro
272 if ( nbpyto.ne.0 ) then
275 call utad02 ( iaux, nhpyra,
276 > jaux, jaux, jaux, jaux,
277 > pfampy, pcfapy, jaux,
280 > ulsort, langue, codret )
284 if ( nbfpen.ne.0 ) then
286 #ifdef _DEBUG_HOMARD_
287 write (ulsort,texte(langue,3)) 'UTAD02_pe', nompro
290 if ( nbpeto.ne.0 ) then
293 call utad02 ( iaux, nhpent,
294 > jaux, jaux, jaux, jaux,
295 > pfampe, pcfape, jaux,
298 > ulsort, langue, codret )
305 c 3. impression de la description des familles
307 #ifdef _DEBUG_HOMARD_
308 write (ulsort,90002) '3. impressions familles ; codret', codret
311 if ( codret.eq.0 ) then
313 #ifdef _DEBUG_HOMARD_
314 write (ulsort,texte(langue,3)) 'UTECFE', nompro
317 call utecfe ( maext0,
318 > imem(pfamno), imem(pcfano),
319 > imem(pfammp), imem(pcfamp),
320 > imem(pfamar), imem(pcfaar),
321 > imem(pfamtr), imem(pcfatr),
322 > imem(pfamqu), imem(pcfaqu),
323 > imem(pfamte), imem(pcfate),
324 > imem(pfamhe), imem(pcfahe),
325 > imem(pfampy), imem(pcfapy),
326 > imem(pfampe), imem(pcfape),
327 > ulsort, langue, codret )
335 if ( codret.ne.0 ) then
339 write (ulsort,texte(langue,1)) 'Sortie', nompro
340 write (ulsort,texte(langue,2)) codret
344 #ifdef _DEBUG_HOMARD_
345 write (ulsort,texte(langue,1)) 'Sortie', nompro