1 subroutine gmalos( nomtab, pointe, nb)
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 ......................................................................
23 c . creation juin 93 jyb
24 c ......................................................................
25 c . allocation d'un tableau character*8 dans le common gmstri
28 c . donnees a l'appel nomtab --> nom de la variable a allouer
29 c . de 8 caracteres au plus
30 c . nb --> nombre de character*8 demandes
31 c . resultat pointe <-- pointeur associe
32 c ......................................................................
34 c 0. declarations et dimensionnement
36 c 0.1. ==> generalites
43 parameter ( nompro = 'GMALOS' )
68 c 0.4. ==> variables locales
76 parameter ( nbmess = 10 )
77 character*80 texte(nblang,nbmess)
86 write (ulsort,texte(langue,1)) 'Entree', nompro
91 c 2. allocation du tableau par le programme generique
95 write (ulsort,*) 'Appel de gmalog par gmalos, nb = ', nb
98 call gmalog ( nomtab, pointe, nb, typtab,
99 > minmes, ntrous, nballs, totals,
100 > ptrous, ltrous, ptalls, lgalls,adus,
102 #ifdef _DEBUG_HOMARD_
103 write (ulsort,*) '==> pointe = ', pointe
107 c 3. au depart, le tableau sera mis a une valeur indefinie, vues
108 c les options de compilation.
109 c si on alloue apres avoir fait des desallocations, on peut
110 c se retrouver dans le tableau smem a un endroit qui etait occupe
111 c autrefois par quelque chose : on recupere alors les valeurs
113 c toutefois cela n'est pas possible en compression car on risque
114 c de detruire le debut du tableau que l'on deplace
115 c tout ceci est pilote par lindef
118 #ifdef _DEBUG_HOMARD_
119 write (ulsort,*) 'Etape 3 de gmalos , coergm = ', coergm
122 if ( coergm.eq.0 ) then
124 if ( lindef.eq.0 ) then
126 ifin = pointe + nb - 1
127 cgn write (ulsort,*) 'ideb , ifin = ', ideb , ifin
128 do 30 , iaux = ideb , ifin
129 cgn write (ulsort,*) 'iaux = ', iaux
140 #ifdef _DEBUG_HOMARD_
141 write (ulsort,*) 'Fin de gmalos'
144 if ( coergm.ne.0 ) then