1 subroutine utad99 ( nomail,
2 > phetar, psomar, pfilar, pmerar, adhoar,
3 > phettr, paretr, pfiltr, ppertr, pnivtr,
5 > phetqu, parequ, pfilqu, pperqu, pnivqu,
8 > phethe, pquahe, pcoquh,
9 > phetpy, pfacpy, pcofay,
10 > phetpe, pfacpe, pcofap,
11 > nhvois, nharet, nhtria, nhquad,
12 > ulsort, langue, codret )
13 c ______________________________________________________________________
17 c Outil de Maillage Adaptatif par Raffinement et Deraffinement d'EDF R&D
19 c Version originale enregistree le 18 juin 1996 sous le numero 96036
20 c aupres des huissiers de justice Simart et Lavoir a Clamart
21 c Version 11.2 enregistree le 13 fevrier 2015 sous le numero 2015/014
22 c aupres des huissiers de justice
23 c Lavoir, Silinski & Cherqui-Abrahmi a Clamart
25 c HOMARD est une marque deposee d'Electricite de France
31 c ______________________________________________________________________
33 c UTilitaire - ADresses - phase 99
35 c ______________________________________________________________________
37 c . nom . e/s . taille . description .
38 c .____________________________________________________________________.
39 c . nomail . e . ch8 . nom de l'objet contenant le maillage .
40 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
41 c . langue . e . 1 . langue des messages .
42 c . . . . 1 : francais, 2 : anglais .
43 c . codret . es . 1 . code de retour des modules .
44 c . . . . 0 : pas de probleme .
45 c . . . . 5 : mauvais type de code de calcul associe .
46 c ______________________________________________________________________
49 c 0. declarations et dimensionnement
52 c 0.1. ==> generalites
58 parameter ( nompro = 'UTAD99' )
78 integer phetar, psomar, pfilar, pmerar, adhoar
79 integer phettr, paretr, pfiltr, ppertr, pnivtr
80 integer adnmtr, adhotr
81 integer phetqu, parequ, pfilqu, pperqu, pnivqu
82 integer adnmqu, adhoqu
83 integer phette, ptrite
84 integer phethe, pquahe, pcoquh
85 integer phetpy, pfacpy, pcofay
86 integer phetpe, pfacpe, pcofap
88 integer ulsort, langue, codret
90 c 0.4. ==> variables locales
96 character*8 nhnoeu, nhmapo, nharet, nhtria, nhquad
97 character*8 nhtetr, nhhexa, nhpyra, nhpent
99 character*8 nhvois, nhsupe, nhsups
102 parameter ( nbmess = 10 )
103 character*80 texte(nblang,nbmess)
105 c 0.5. ==> initialisations
106 c ______________________________________________________________________
114 #ifdef _DEBUG_HOMARD_
115 write (ulsort,texte(langue,1)) 'Entree', nompro
120 c 2. structure generale
123 #ifdef _DEBUG_HOMARD_
124 write (ulsort,texte(langue,3)) 'UTNOMH', nompro
126 call utnomh ( nomail,
128 > degre, maconf, homolo, hierar,
129 > rafdef, nbmane, typcca, typsfr, maextr,
132 > nhnoeu, nhmapo, nharet,
134 > nhtetr, nhhexa, nhpyra, nhpent,
136 > nhvois, nhsupe, nhsups,
137 > ulsort, langue, codret)
142 #ifdef _DEBUG_HOMARD_
143 write (ulsort,*) '3. tableaux ; codret = ', codret
146 if ( codret.eq.0 ) then
149 if ( homolo.ge.2 ) then
152 #ifdef _DEBUG_HOMARD_
153 write (ulsort,texte(langue,3)) 'UTAD02_ar', nompro
155 call utad02 ( iaux, nharet,
156 > phetar, psomar, pfilar, pmerar,
159 > jaux, adhoar, jaux,
160 > ulsort, langue, codret )
162 if ( nbtrto.ne.0 ) then
165 if ( mod(mailet,2).eq.0 ) then
168 if ( homolo.ge.3 ) then
171 #ifdef _DEBUG_HOMARD_
172 write (ulsort,texte(langue,3)) 'UTAD02_tr', nompro
174 call utad02 ( iaux, nhtria,
175 > phettr, paretr, pfiltr, ppertr,
177 > pnivtr, jaux, jaux,
178 > adnmtr, adhotr, jaux,
179 > ulsort, langue, codret )
183 if ( nbquto.ne.0 ) then
186 if ( mod(mailet,3).eq.0 ) then
189 if ( homolo.ge.3 ) then
192 #ifdef _DEBUG_HOMARD_
193 write (ulsort,texte(langue,3)) 'UTAD02_qu', nompro
195 call utad02 ( iaux, nhquad,
196 > phetqu, parequ, pfilqu, pperqu,
198 > pnivqu, jaux, jaux,
199 > adnmqu, adhoqu, jaux,
200 > ulsort, langue, codret )
204 if ( nbteto.ne.0 ) then
206 #ifdef _DEBUG_HOMARD_
207 write (ulsort,texte(langue,3)) 'UTAD02_te', nompro
210 call utad02 ( iaux, nhtetr,
211 > phette, ptrite, jaux , jaux,
215 > ulsort, langue, codret )
219 if ( nbheto.ne.0 ) then
221 #ifdef _DEBUG_HOMARD_
222 write (ulsort,texte(langue,3)) 'UTAD02_he', nompro
225 call utad02 ( iaux, nhhexa,
226 > phethe, pquahe, jaux , jaux,
228 > jaux, pcoquh, jaux,
230 > ulsort, langue, codret )
234 if ( nbpyto.ne.0 ) then
236 #ifdef _DEBUG_HOMARD_
237 write (ulsort,texte(langue,3)) 'UTAD02_py', nompro
240 call utad02 ( iaux, nhpyra,
241 > phetpy, pfacpy, jaux , jaux,
243 > jaux, pcofay, jaux,
245 > ulsort, langue, codret )
249 if ( nbpeto.ne.0 ) then
251 #ifdef _DEBUG_HOMARD_
252 write (ulsort,texte(langue,3)) 'UTAD02_pe', nompro
255 call utad02 ( iaux, nhpent,
256 > phetpe, pfacpe, jaux , jaux,
258 > jaux, pcofap, jaux,
260 > ulsort, langue, codret )
270 if ( codret.ne.0 ) then
274 write (ulsort,texte(langue,1)) 'Sortie', nompro
275 write (ulsort,texte(langue,2)) codret
279 #ifdef _DEBUG_HOMARD_
280 write (ulsort,texte(langue,1)) 'Sortie', nompro