1 subroutine utsext ( nocsol, option, typcca,
3 > ulsort, langue, codret)
4 c ______________________________________________________________________
8 c Outil de Maillage Adaptatif par Raffinement et Deraffinement d'EDF R&D
10 c Version originale enregistree le 18 juin 1996 sous le numero 96036
11 c aupres des huissiers de justice Simart et Lavoir a Clamart
12 c Version 11.2 enregistree le 13 fevrier 2015 sous le numero 2015/014
13 c aupres des huissiers de justice
14 c Lavoir, Silinski & Cherqui-Abrahmi a Clamart
16 c HOMARD est une marque deposee d'Electricite de France
22 c ______________________________________________________________________
24 c UTilitaire - Solution - EXTrusion
26 c ______________________________________________________________________
28 c . nom . e/s . taille . description .
29 c .____________________________________________________________________.
30 c . nocsol . e . char8 . nom de l'objet solution a modifier .
31 c . option . e . 1 . option de la modification .
32 c . . . . 1 : passage du 3D au 2D .
33 c . . . . 2 : passage du 2D au 3D .
34 c . typcca . e . 1 . type du code de calcul .
35 c . . . . 26 : SATURNE_2D (format MED) .
36 c . . . . 36 : SATURNE (format MED) .
37 c . . . . 46 : NEPTUNE_2D (format MED) .
38 c . . . . 56 : NEPTUNE (format MED) .
39 c . . . . 66 : CARMEL_2D (format MED) .
40 c . . . . 76 : CARMEL (format MED) .
41 c . lgetco . e . 1 . longueur du tableau de l'etat courant .
42 c . taetco . e . lgetco . tableau de l'etat courant .
43 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
44 c . langue . e . 1 . langue des messages .
45 c . . . . 1 : francais, 2 : anglais .
46 c . codret . es . 1 . code de retour des modules .
47 c . . . . 0 : pas de probleme .
48 c . . . . 5 : mauvais type de code de calcul associe .
49 c ______________________________________________________________________
52 c 0. declarations et dimensionnement
55 c 0.1. ==> generalites
61 parameter ( nompro = 'UTSEXT' )
71 integer option, typcca
76 integer taetco(lgetco)
78 integer ulsort, langue, codret
80 c 0.4. ==> variables locales
83 integer nretap, nrsset
86 integer sdimav, sdimap
92 parameter ( nbmess = 10 )
93 character*80 texte(nblang,nbmess)
95 c 0.5. ==> initialisations
96 c ______________________________________________________________________
100 c=======================================================================
101 if ( codava.eq.0 ) then
102 c=======================================================================
110 #ifdef _DEBUG_HOMARD_
111 write (ulsort,texte(langue,1)) 'Entree', nompro
115 if ( typcca.eq.26 ) then
117 elseif ( typcca.eq.46 ) then
124 > '(/,a6,1x,'''//saux09//' - PASSAGE DU CHAMP '',i1,
125 > ''D EN '',i1,''D'')'
126 texte(1,5) = '(44(''=''),/)'
127 texte(1,6) = '(''Option de conversion '',i8,'' invalide.'')'
128 texte(1,7) = '(''Il faut 1 ou 2.'')'
130 texte(2,4) = '(/,a6,1x,'''//saux09//' - FROM '',i1,
131 > ''D FIELD TO '',i1,''D'')'
132 texte(2,5) = '(38(''=''),/)'
133 texte(2,6) = '(''Option for conversion '',i8,'' is uncorrect.'')'
134 texte(2,7) = '(''1 or 2 is needed.'')'
136 c 1.4. ==> le numero de sous-etape
139 nrsset = taetco(2) + 1
142 call utcvne ( nretap, nrsset, saux, iaux, codret )
146 if ( option.eq.1 ) then
149 elseif ( option.eq.2 ) then
158 write (ulsort,texte(langue,4)) saux, sdimav, sdimap
159 write (ulsort,texte(langue,5))
161 if ( codret.eq.1 ) then
162 write (ulsort,texte(langue,6)) option
163 write (ulsort,texte(langue,7))
169 c 2. conversion de la solution
172 if ( codret.eq.0 ) then
174 #ifdef _DEBUG_HOMARD_
175 write (ulsort,texte(langue,3)) 'UTSEX0', nompro
177 call utsex0 ( nocsol, option,
178 > ulsort, langue, codret )
186 if ( codret.ne.0 ) then
190 write (ulsort,texte(langue,1)) 'Sortie', nompro
191 write (ulsort,texte(langue,2)) codret
195 #ifdef _DEBUG_HOMARD_
196 write (ulsort,texte(langue,1)) 'Sortie', nompro
200 c=======================================================================
202 c=======================================================================