1 subroutine esecsu ( idfmed,
4 > nhmapo, nharet, nhtria, nhquad,
5 > nhtetr, nhhexa, nhpyra, nhpent,
8 > numdt, numit, instan,
9 > ulsort, langue, codret)
11 c ______________________________________________________________________
15 c Outil de Maillage Adaptatif par Raffinement et Deraffinement d'EDF R&D
17 c Version originale enregistree le 18 juin 1996 sous le numero 96036
18 c aupres des huissiers de justice Simart et Lavoir a Clamart
19 c Version 11.2 enregistree le 13 fevrier 2015 sous le numero 2015/014
20 c aupres des huissiers de justice
21 c Lavoir, Silinski & Cherqui-Abrahmi a Clamart
23 c HOMARD est une marque deposee d'Electricite de France
29 c ______________________________________________________________________
31 c Entree-Sortie : ECriture des informations SUpplementaires
33 c ______________________________________________________________________
34 c . nom . e/s . taille . description .
35 c .____________________________________________________________________.
36 c . idfmed . e . 1 . identificateur du fichier MED .
37 c . nomail . e . char*8 . structure du maillage a ecrire .
38 c . infmgl . e . 0:* . 0 : nombre d'informations .
39 c . . . . >0 : informations maillage globales .
40 c . dimcst . e . 1 . dimension de la coordonnee constante .
41 c . . . . eventuelle, 0 si toutes varient .
42 c . coocst . e . 1 . coordonnee constante eventuelle .
43 c . numdt . e . 1 . numero du pas de temps .
44 c . numit . e . 1 . numero d'iteration .
45 c . instan . e . 1 . pas de temps .
46 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
47 c . langue . e . 1 . langue des messages .
48 c . . . . 1 : francais, 2 : anglais .
49 c . codret . es . 1 . code de retour des modules .
50 c . . . . 0 : pas de probleme .
51 c ______________________________________________________________________
54 c 0. declarations et dimensionnement
57 c 0.1. ==> generalites
63 parameter ( nompro = 'ESECSU' )
81 character*8 nhmapo, nharet, nhtria, nhquad
82 character*8 nhtetr, nhhexa, nhpyra, nhpent
84 double precision coocst
85 double precision instan
87 integer ulsort, langue, codret
89 c 0.4. ==> variables locales
99 parameter ( nbmess = 150 )
100 character*80 texte(nblang,nbmess)
101 c ______________________________________________________________________
109 #ifdef _DEBUG_HOMARD_
110 write (ulsort,texte(langue,1)) 'Entree', nompro
114 texte(1,4) = '(''. Ecriture des informations supplementaires.'')'
115 texte(1,7) = '(''Premieres valeurs : '',10i6)'
117 texte(2,4) = '(''. Writings of additional information.'')'
118 texte(2,7) = '(''First values : '',10i6)'
124 #ifdef _DEBUG_HOMARD_
125 write (ulsort,texte(langue,4))
131 c 2. Ecriture des informations entieres sous forme de profil
133 #ifdef _DEBUG_HOMARD_
134 write (ulsort,90002) '2. infos entieres ; codret', codret
137 if ( codret.eq.0 ) then
139 #ifdef _DEBUG_HOMARD_
140 write (ulsort,texte(langue,3)) 'ESECS1', nompro
142 call esecs1 ( idfmed,
144 > ulsort, langue, codret)
149 c 3. Ecriture des informations globales sous forme de profil
151 #ifdef _DEBUG_HOMARD_
152 write (ulsort,90002) '3. infos globales ; codret', codret
155 if ( codret.eq.0 ) then
158 c 1234567890123456789012
159 noprof(1:22) = 'Info_maillage_globales'
162 #ifdef _DEBUG_HOMARD_
163 write (ulsort,texte(langue,61)) noprof
164 write (ulsort,texte(langue,62)) iaux
165 write (ulsort,texte(langue,7)) (infmgl(jaux), jaux = 1, iaux)
168 #ifdef _DEBUG_HOMARD_
169 write (ulsort,texte(langue,3)) 'MPFPRW', nompro
171 call mpfprw ( idfmed, noprof, iaux, infmgl(1), codret )
176 c 4. Ecriture des renumerotations sous forme de profil
178 #ifdef _DEBUG_HOMARD_
179 write (ulsort,90002) '4. renumerotations ; codret', codret
182 if ( codret.eq.0 ) then
184 #ifdef _DEBUG_HOMARD_
185 write (ulsort,texte(langue,3)) 'ESECS2', nompro
187 call esecs2 ( idfmed,
189 > ulsort, langue, codret)
194 c 5. Ecriture des recollements sous forme de profil
196 #ifdef _DEBUG_HOMARD_
197 write (ulsort,90002) '5. recollements ; codret', codret
200 if ( codret.eq.0 ) then
202 #ifdef _DEBUG_HOMARD_
203 write (ulsort,texte(langue,3)) 'ESECS3', nompro
205 call esecs3 ( idfmed,
207 > nhmapo, nharet, nhtria, nhquad,
208 > nhtetr, nhhexa, nhpyra, nhpent,
209 > ulsort, langue, codret)
214 c 6. Ecriture de la dimension constante sous forme de variable scalaire
216 #ifdef _DEBUG_HOMARD_
217 write (ulsort,90002) '6. dimcst ; codret', codret
220 if ( dimcst.gt.0 ) then
222 if ( codret.eq.0 ) then
224 #ifdef _DEBUG_HOMARD_
225 write (ulsort,texte(langue,3)) 'ESECS4', nompro
227 call esecs4 ( idfmed,
229 > numdt, numit, instan,
230 > ulsort, langue, codret)
237 c 7. Ecriture des connectivites par aretes sous forme de profil
239 #ifdef _DEBUG_HOMARD_
240 write (ulsort,90002) '7. connectivite/aretes ; codret', codret
243 if ( codret.eq.0 ) then
245 #ifdef _DEBUG_HOMARD_
246 write (ulsort,texte(langue,3)) 'ESECS5', nompro
248 call esecs5 ( idfmed,
249 > nhtetr, nhhexa, nhpyra, nhpent,
250 > ulsort, langue, codret)
258 if ( codret.ne.0 ) then
262 write (ulsort,texte(langue,1)) 'Sortie', nompro
263 write (ulsort,texte(langue,2)) codret
267 #ifdef _DEBUG_HOMARD_
268 write (ulsort,texte(langue,1)) 'Sortie', nompro