1 subroutine utlo06 ( motcle, option, ulsort, langue, codret )
2 c ______________________________________________________________________
6 c Outil de Maillage Adaptatif par Raffinement et Deraffinement d'EDF R&D
8 c Version originale enregistree le 18 juin 1996 sous le numero 96036
9 c aupres des huissiers de justice Simart et Lavoir a Clamart
10 c Version 11.2 enregistree le 13 fevrier 2015 sous le numero 2015/014
11 c aupres des huissiers de justice
12 c Lavoir, Silinski & Cherqui-Abrahmi a Clamart
14 c HOMARD est une marque deposee d'Electricite de France
20 c ______________________________________________________________________
22 c UTilitaire : Lectures des Options - 06
24 c ______________________________________________________________________
26 c but : decoder le texte relatif a l'usage des composantes de
28 c ______________________________________________________________________
30 c . nom . e/s . taille . description .
31 c .____________________________________________________________________.
32 c . motcle . e . char*8 . mot-cle a decoder .
33 c . option . s . 1 . 0 : valeur relative .
34 c . . . . 1 : valeur absolue (defaut) .
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 . . . . 6 : impossible de decoder les options .
41 c ______________________________________________________________________
44 c 0. declarations et dimensionnement
47 c 0.1. ==> generalites
53 parameter ( nompro = 'UTLO06' )
67 integer ulsort, langue, codret
69 c 0.4. ==> variables locales
74 integer nbrmin, nbrmax
79 parameter ( nbmess = 15 )
80 character*80 texte(nblang,nbmess)
82 c 0.5. ==> initialisations
83 c ______________________________________________________________________
89 c 1.1. ==> tout va bien
93 c 1.2. ==> les messages
98 write (ulsort,texte(langue,1)) 'Entree', nompro
108 c 1.3. ==> par defaut, valeur absolue
113 c 2. options textuelles
116 c 2.1. ==> recherche du texte associe au mot-cle
117 c code de retour de utfino :
118 c 0 : pas de probleme
119 c 1 : la configuration est perdue
120 c 2 : pas de nom dans la base
121 c remarque : on recupere le texte en majuscule
124 #ifdef _DEBUG_HOMARD_
125 write (ulsort,texte(langue,3)) 'UTFIN2', nompro
127 call utfin2 ( motcle, iaux, noptio, loptio,
129 > ulsort, langue, codre0)
131 c 2.2. ==> decodage de l'option
133 if ( codre0.eq.0 ) then
137 if ( loptio.eq.2 ) then
139 if ( noptio(1:loptio).eq.'L2' ) then
145 elseif ( loptio.eq.6 ) then
148 if ( noptio(1:loptio).eq.'ABSOLU' ) then
150 elseif ( noptio(1:loptio).eq.'INFINI' ) then
156 elseif ( loptio.eq.7 ) then
159 if ( noptio(1:loptio).eq.'L2_NORM' ) then
161 elseif ( noptio(1:loptio).eq.'RELATIF' ) then
167 elseif ( loptio.eq.8 ) then
170 if ( noptio(1:loptio).eq.'ABSOLUTE' ) then
172 elseif ( noptio(1:loptio).eq.'NORME_L2' ) then
174 elseif ( noptio(1:loptio).eq.'INFINITE' ) then
176 elseif ( noptio(1:loptio).eq.'RELATIVE' ) then
182 elseif ( loptio.eq.13 ) then
185 if ( noptio(1:loptio).eq.'NORME_INFINIE' ) then
195 elseif ( codre0.eq.2 ) then
209 if ( codret.ne.0 ) then
213 write (ulsort,texte(langue,1)) 'Sortie', nompro
214 write (ulsort,texte(langue,2)) codret
218 #ifdef _DEBUG_HOMARD_
219 write (ulsort,texte(langue,1)) 'Sortie', nompro