1 subroutine sffaf1 ( nbfron, pointa, taigra, nomgra,
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 - 1
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 . pointa . e .0:nbfron. pointeur sur le tableau nomgra .
31 c . taigra . e . * . taille des noms des groupes des frontieres .
32 c . nomgra . e . * . noms des groupes des frontieres .
33 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
34 c . langue . e . 1 . langue des messages .
35 c . . . . 1 : francais, 2 : anglais .
36 c . codret . es . 1 . code de retour des modules .
37 c . . . . 0 : pas de probleme .
38 c . . . . x : probleme .
39 c ______________________________________________________________________
42 c 0. declarations et dimensionnement
45 c 0.1. ==> generalites
51 parameter ( nompro = 'SFFAF1' )
62 integer pointa(0:nbfron), taigra(*)
66 integer ulsort, langue, codret
68 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
99 >'(''*'',26x,''Groupe(s) frontiere '',a8,28x,''*'')'
102 >'(''*'',28x,a8,'' boundary group(s)'',28x,''*'')'
106 1000 format('* ',a80,' *')
107 1001 format('*',10x,i10,14x,'*')
114 #ifdef _DEBUG_HOMARD_
115 write (ulsort,90002) '2. affichage ; codret', codret
118 notyfr(1) = 'discrete'
119 notyfr(2) = 'Discrete'
122 write (ulsort,texte(langue,4)) notyfr(langue)
125 do 21 , numfro = 1 , nbfron
127 c 2.1. ==> Reperage du nom du groupe
129 if ( codret.eq.0 ) then
131 c adresse du debut du groupe associe a la frontiere
132 jaux = pointa(numfro-1) + 1
134 c longueur utile du nom du groupe
136 do 221 , iaux = jaux , pointa(numfro)
137 lgngro = lgngro + taigra(iaux)
142 if ( codret.eq.0 ) then
144 c recuperation du nom du groupe associe a la frontiere fro
145 call uts8ch ( nomgra(jaux), lgngro, nomgro,
146 > ulsort, langue, codret )
152 if ( codret.eq.0 ) then
154 write (ulsort,1000) nomgro
166 if ( codret.ne.0 ) then
170 write (ulsort,texte(langue,1)) 'Sortie', nompro
171 write (ulsort,texte(langue,2)) codret
175 #ifdef _DEBUG_HOMARD_
176 write (ulsort,texte(langue,1)) 'Sortie', nompro