1 subroutine eslmh6 ( idfmed,
4 > ulsort, langue, codret)
6 c ______________________________________________________________________
10 c Outil de Maillage Adaptatif par Raffinement et Deraffinement d'EDF R&D
12 c Version originale enregistree le 18 juin 1996 sous le numero 96036
13 c aupres des huissiers de justice Simart et Lavoir a Clamart
14 c Version 11.2 enregistree le 13 fevrier 2015 sous le numero 2015/014
15 c aupres des huissiers de justice
16 c Lavoir, Silinski & Cherqui-Abrahmi a Clamart
18 c HOMARD est une marque deposee d'Electricite de France
24 c ______________________________________________________________________
26 c Entree-Sortie : Lecture du Maillage Homard - phase 6
28 c ______________________________________________________________________
29 c . nom . e/s . taille . description .
30 c .____________________________________________________________________.
31 c . idfmed . e . 1 . identificateur du fichier MED .
32 c . nhelig . e . char8 . nom de l'objet decrivant les ignores .
33 c . tbiaux . . * . tableau tampon entier .
34 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
35 c . langue . e . 1 . langue des messages .
36 c . . . . 1 : francais, 2 : anglais .
37 c . codret . es . 1 . code de retour des modules .
38 c . . . . 0 : pas de probleme .
39 c ______________________________________________________________________
42 c 0. declarations et dimensionnement
45 c 0.1. ==> generalites
51 parameter ( nompro = 'ESLMH6' )
71 integer ulsort, langue, codret
73 c 0.4. ==> variables locales
78 integer hfmdel, hnoeel
80 integer codre1, codre2, codre3
86 parameter ( nbmess = 150 )
87 character*80 texte(nblang,nbmess)
88 c ______________________________________________________________________
98 write (ulsort,texte(langue,1)) 'Entree', nompro
107 c 2. les elements ignores
111 if ( codret.eq.0 ) then
115 noprof(1:16) = 'Elements_Ignores'
117 #ifdef _DEBUG_HOMARD_
118 write (ulsort,texte(langue,3)) 'MPFPRR', nompro
120 call mpfprr ( idfmed, noprof, tbiaux, codret )
123 #ifdef _DEBUG_HOMARD_
124 write (ulsort,texte(langue,61)) noprof
127 c 2.2. ==> Allocations
129 if ( codret.eq.0 ) then
133 if ( degre.eq.1 ) then
139 iaux = nbelig * nbnoel
140 call gmaloj ( nhelig//'.ConnNoeu', ' ', iaux , hnoeel, codre1 )
141 call gmaloj ( nhelig//'.FamilMED', ' ', nbelig, hfmdel, codre2 )
142 call gmecat ( nhelig, 1, nbelig, codre3 )
144 codre0 = min ( codre1, codre2, codre3 )
145 codret = max ( abs(codre0), codret,
146 > codre1, codre2, codre3 )
149 cgn write (ulsort,90002) 'tbiaux', (tbiaux(iaux),iaux=1,14)
153 if ( codret.eq.0 ) then
155 do 231 , iaux = 1 , nbelig
156 imem(hfmdel+iaux-1) = tbiaux(iaux)
159 do 232 , iaux = 1 , jaux
160 imem(hnoeel+iaux-1) = tbiaux(nbelig+iaux)
164 cgn call gmprsx ( nompro, nhelig )
165 cgn call gmprsx ( nompro, nhelig//'.ConnNoeu' )
166 cgn call gmprsx ( nompro, nhelig//'.FamilMED' )
172 if ( codret.ne.0 ) then
176 write (ulsort,texte(langue,1)) 'Sortie', nompro
177 write (ulsort,texte(langue,2)) codret
181 #ifdef _DEBUG_HOMARD_
182 write (ulsort,texte(langue,1)) 'Sortie', nompro