1 subroutine eses11 ( idfmed, nomcha,
5 > 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 - Ecriture d'une Solution au format MED - phase 1.1
28 c ______________________________________________________________________
30 c . nom . e/s . taille . description .
31 c .____________________________________________________________________.
32 c . idfmed . e . 1 . identifiant du fichier med en sortie .
33 c . nomcha . e . char64 . nom du champ .
34 c . nbcomp . e . 1 . nombre de composantes .
35 c . typcha . e . 1 . edin64/edfl64 selon entier/reel .
36 c . nomcmp . e . nbcomp . noms des composantes .
37 c . unicmp . e . nbcomp . unites des composantes .
38 c . dtunit . e . 1 . unite des pas de temps .
39 c . nomamd . e . char64 . nom du maillage MED .
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 . . . . 1 : probleme .
46 c ______________________________________________________________________
49 c 0. declarations et dimensionnement
52 c 0.1. ==> generalites
58 parameter ( nompro = 'ESES11' )
72 integer nbcomp, typcha
75 character*16 nomcmp(nbcomp), unicmp(nbcomp)
79 integer ulsort, langue, codret
81 c 0.4. ==> variables locales
86 parameter ( nbmess = 150 )
87 character*80 texte(nblang,nbmess)
89 c 0.5. ==> initialisations
90 c ______________________________________________________________________
99 write (ulsort,texte(langue,1)) 'Entree', nompro
105 texte(1,4) = '(/,''Creation du champ : '',a)'
106 texte(1,5) = '(''Type du champ : '',i2)'
108 > '(''Numero ! Composante ! Unite'',/,49(''-''))'
109 texte(1,7) = '(i6,'' ! '',a16,'' ! '',a16)'
110 texte(1,8) = '(''Unite du pas de temps : '',a)'
112 texte(2,4) = '(/,''Creation of field: '',a)'
113 texte(2,5) = '(''Type of field: '',i2)'
115 > '('' # ! Component ! Unit'',/,49(''-''))'
116 texte(2,7) = '(i6,'' ! '',a16,'' ! '',a16)'
117 texte(2,8) = '(''Time step unity: '',a)'
122 c 2. creation du champ
125 call utlgut ( iaux, nomcha, ulsort, langue, codret )
127 if ( codret.eq.0 ) then
129 write (ulsort,texte(langue,4)) nomcha(1:iaux)
130 write (ulsort,texte(langue,5)) typcha
131 write (ulsort,texte(langue,6))
132 do 20 , iaux = 1 , nbcomp
133 write (ulsort,texte(langue,7)) iaux, nomcmp(iaux), unicmp(iaux)
135 call utlgut ( iaux, dtunit, ulsort, langue, codret )
139 if ( codret.eq.0 ) then
141 if ( iaux.gt.0 ) then
142 write (ulsort,texte(langue,8)) dtunit
148 c 3. creation du champ
150 #ifdef _DEBUG_HOMARD_
151 write (ulsort,90002) '3. creation du champ ; codret', codret
154 if ( codret.eq.0 ) then
156 #ifdef _DEBUG_HOMARD_
157 write (ulsort,texte(langue,3)) 'MFDCRE', nompro
159 call mfdcre ( idfmed, nomcha, typcha,
160 > nbcomp, nomcmp, unicmp,
161 > dtunit, nomamd, codret )
163 if ( codret.ne.0 ) then
164 write (ulsort,texte(langue,13)) nomcha
173 if ( codret.ne.0 ) then
177 write (ulsort,texte(langue,1)) 'Sortie', nompro
178 write (ulsort,texte(langue,2)) codret
182 #ifdef _DEBUG_HOMARD_
183 write (ulsort,texte(langue,1)) 'Sortie', nompro