1 subroutine initer ( 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 INformation : ITERation
24 c Cette ecriture sert au programme d'analyse.
25 c ______________________________________________________________________
27 c . nom . e/s . taille . description .
28 c .____________________________________________________________________.
29 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
30 c . langue . e . 1 . langue des messages .
31 c . . . . 1 : francais, 2 : anglais .
32 c . codret . es . 1 . code de retour des modules .
33 c . . . . 0 : pas de probleme .
34 c . . . . 2 : probleme dans les memoires .
35 c . . . . 3 : probleme dans les fichiers .
36 c . . . . 5 : probleme autre .
37 c ______________________________________________________________________
40 c 0. declarations et dimensionnement
43 c 0.1. ==> generalites
49 parameter ( nompro = 'INITER' )
62 integer ulsort, langue, codret
64 c 0.4. ==> variables locales
67 integer nuroul, lnomfl
73 parameter ( nbmess = 10 )
74 character*80 texte(nblang,nbmess)
76 c 0.5. ==> initialisations
77 c ______________________________________________________________________
86 write (ulsort,texte(langue,1)) 'Entree', nompro
90 texte(1,4) = '(''Numero d''''iteration :'',i5)'
92 texte(2,4) = '(''Iteration number :'',i5)'
95 c 2. recherche du numero d'unite logique lie au fichier
101 call utulbi ( nuroul, nomflo, lnomfl,
102 > iaux, saux08, jaux, jaux,
103 > ulsort, langue, codret )
106 c 2. ecriture du numero d'iteration dans un fichier, si ce n'est
110 if ( codret.eq.0 ) then
112 if ( nuroul.ne.ulsort ) then
116 #ifdef _DEBUG_HOMARD_
117 write (ulsort,texte(langue,4)) nbiter
120 write (nuroul,*) nbiter
122 c 2.2. ==> fermeture du fichier
124 call gufeul ( nuroul, codret )
134 if ( codret.ne.0 ) then
138 write (ulsort,texte(langue,1)) 'Sortie', nompro
139 write (ulsort,texte(langue,2)) codret
143 #ifdef _DEBUG_HOMARD_
144 write (ulsort,texte(langue,1)) 'Sortie', nompro