1 subroutine gmdmpt ( choix, gmimp )
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 sous programme d'impression de toutes les tables servant
23 c a la gestion des objets structures en memoire centrale
24 c ______________________________________________________________________
26 c . nom . e/s . taille . description .
27 c .____________________________________________________________________.
28 c . choix . e . ent . type d'impression .
29 c . . . . 1 : le dictionnaire des structures .
30 c . . . . 2 : les objets structures presents .
31 c . gmimp . e . 1 . 0 => pas d'impression .
32 c . . . . <=2 => impression simple .
33 c . . . . >2 => impression etendue .
34 c ______________________________________________________________________
37 c 0. declarations et dimensionnement
40 c 0.1. ==> generalites
60 c 0.4. ==> variables locales
63 integer i,j,ityp,ity,nba,iat,nbc,iad,k,l
65 c 0.5. ==> initialisations
67 c ______________________________________________________________________
70 c 1. les structures declarees
73 if ( gmimp.gt.0 ) then
75 if ( choix.eq.1 ) then
80 write(ulsort,*) ' * Impression des tables des objets structures *'
81 write(ulsort,*) ' ==============================================='
83 write(ulsort,*) ' Etat des tables des structures declarees '
84 write(ulsort,*) ' ---------------------------------------- '
89 3 format(4x,a,a8,' -> ',i8)
92 write(ulsort,*) ' Nombre de types de structure = ',nbrtyp
96 write(ulsort,1) i,' -> nom du type = ',nomtyp(i)
98 write(ulsort,2) ' nombre de attri = ',nbratt(i)
99 write(ulsort,2) ' nombre de champ = ',nbcham(i)
100 write(ulsort,2) ' adresse de champ = ',adrdst(i)
102 if ( gmimp.gt.2 ) then
103 do 11 , j = adrdst(i),adrdst(i)+nbcham(i)-1
104 write(ulsort,3) ' -> -> nom de champ = ',nomcha(j)
108 else if (ityp.eq.-1) then
110 else if (ityp.eq.-2) then
112 else if (ityp.eq.-3) then
115 write(ulsort,3) ' type de champ = ',nomf,ityp
121 write(ulsort,*) ' -----------------------------------------------'
128 c 2. les objets structures presents
131 if ( gmimp.gt.0 ) then
133 if ( choix.eq.2 ) then
137 write(ulsort,*) ' Etat des tables des objets structures - VTOC-MC'
138 write(ulsort,*) ' -----------------------------------------------'
141 write(ulsort,*) ' Nombre objets structures presents : ',iptobj-1
143 do 20 , i = 1,iptobj-1
145 write(ulsort,1) i,' -> nom objet = ',nomobj(i)
152 write(ulsort,3) ' typ objet = ',nomtyp(ity),ity
154 write(ulsort,2) ' nbr-attri = ',nba
155 if ( gmimp.gt.2 ) then
156 write(ulsort,2) ' adr attri = ',iat
160 write(ulsort,2) ' -> -> numero-attr = ',j
161 write(ulsort,2) ' valeur-attr = ',valatt(k)
165 write(ulsort,2) ' nbr-champ = ',nbc
166 if ( gmimp.gt.2 ) then
167 write(ulsort,2) ' adr objet = ',iad
175 else if (ityp.eq.-1) then
177 else if (ityp.eq.-2) then
179 else if (ityp.eq.-3) then
182 write(ulsort,4) ' -> -> objet-champ = ',nomobc(k)
183 write(ulsort,4) ' nom -champ = ',nomcha(l)
184 write(ulsort,3) ' type -champ = ',nomf,ityp
191 write(ulsort,*) ' pointeur -> iptchp = ',iptchp
194 write(ulsort,*) ' ==============================================='