1 subroutine sffaf3 ( nbfron, typefr, nogrfr,
2 > ulsort, langue, codret)
3 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 Suivi de Frontiere - Frontieres AFfichage - 3
24 c remarque : sffaf1, sffaf2 et sffaf3 sont des clones
25 c ______________________________________________________________________
27 c . nom . e/s . taille . description .
28 c .____________________________________________________________________.
29 c . nbfron . e . 1 . nombre de frontieres .
30 c . typefr . e . nbfron . type de frontiere (1:ligne/-1:surface) .
31 c . nogrfr . e .10nbfron. noms des groupes des frontieres .
32 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
33 c . langue . e . 1 . langue des messages .
34 c . . . . 1 : francais, 2 : anglais .
35 c . codret . es . 1 . code de retour des modules .
36 c . . . . 0 : pas de probleme .
37 c . . . . x : probleme .
38 c ______________________________________________________________________
41 c 0. declarations et dimensionnement
44 c 0.1. ==> generalites
50 parameter ( nompro = 'SFFAF3' )
61 integer typefr(nbfron)
63 character*8 nogrfr(10*nbfron)
65 integer ulsort, langue, codret
67 c 0.4. ==> variables locales
79 parameter ( nbmess = 10 )
80 character*80 texte(nblang,nbmess)
82 c 0.5. ==> initialisations
83 c ______________________________________________________________________
94 write (ulsort,texte(langue,1)) 'Entree', nompro
98 texte(1,4) = '(''*'',33x,''Ligne frontiere'',34x,''*'')'
99 texte(1,5) = '(''*'',32x,''Surface frontiere'',33x,''*'')'
101 texte(2,4) = '(''*'',35x,''1D boundary'',36x,''*'')'
102 texte(2,5) = '(''*'',35x,''2D boundary'',36x,''*'')'
106 1000 format('* ',a80,' *')
107 1001 format('*',10x,i10,14x,'*')
109 1101 format(//,84('*'))
113 #ifdef _DEBUG_HOMARD_
114 write (ulsort,90002) 'nbfron', nbfron
118 c 2. affichage des lignes
121 #ifdef _DEBUG_HOMARD_
122 write (ulsort,90002) '2. affichage des lignes ; codret', codret
127 do 21 , numfro = 1 , nbfron
128 cgn write (ulsort,90112) 'typefr', numfro, typefr(numfro)
130 if ( typefr(numfro).gt.0 ) then
132 if ( codret.eq.0 ) then
134 c recuperation du nom du groupe associe a la frontiere fro
135 call uts8ch ( nogrfr(10*(numfro-1)+1), lgngro, nomgro,
136 > ulsort, langue, codret )
140 if ( codret.eq.0 ) then
144 write (ulsort,texte(langue,4))
148 write (ulsort,1000) nomgro
156 if ( .not. prem ) then
161 c 3. affichage des surfaces
163 #ifdef _DEBUG_HOMARD_
164 write (ulsort,90002) '3. affichage des surfaces ; codret', codret
169 do 31 , numfro = 1 , nbfron
171 if ( typefr(numfro).lt.0 ) then
173 if ( codret.eq.0 ) then
175 c recuperation du nom du groupe associe a la frontiere fro
176 call uts8ch ( nogrfr(10*(numfro-1)+1), lgngro, nomgro,
177 > ulsort, langue, codret )
181 if ( codret.eq.0 ) then
185 write (ulsort,texte(langue,5))
189 write (ulsort,1000) nomgro
197 if ( .not. prem ) then
205 if ( codret.ne.0 ) then
209 write (ulsort,texte(langue,1)) 'Sortie', nompro
210 write (ulsort,texte(langue,2)) codret
214 #ifdef _DEBUG_HOMARD_
215 write (ulsort,texte(langue,1)) 'Sortie', nompro