1 subroutine pcmat0 ( rstrto,
4 > ulsort, langue, codret )
5 c ______________________________________________________________________
9 c Outil de Maillage Adaptatif par Raffinement et Deraffinement d'EDF R&D
11 c Version originale enregistree le 18 juin 1996 sous le numero 96036
12 c aupres des huissiers de justice Simart et Lavoir a Clamart
13 c Version 11.2 enregistree le 13 fevrier 2015 sous le numero 2015/014
14 c aupres des huissiers de justice
15 c Lavoir, Silinski & Cherqui-Abrahmi a Clamart
17 c HOMARD est une marque deposee d'Electricite de France
23 c ______________________________________________________________________
25 c aPres adaptation - Conversion - MAillage connectivite - Triangles
29 c ______________________________________________________________________
31 c remarque : pcmatr et pcmat0 sont des clones
32 c remarque : pcmaa0, pcmat0 et pcmaq0 sont des clones
33 c ______________________________________________________________________
35 c . nom . e/s . taille . description .
36 c .____________________________________________________________________.
37 c . rstrto . s . 1 . nombre de triangles actifs et du calcul .
38 c . hettri . e . nbtrto . historique de l'etat des triangles .
39 c . famtri . e . nbtrto . famille des triangles .
40 c . cfatri . e . nctftr*. codes des familles des triangles .
41 c . . . nbftri . 1 : famille MED .
42 c . . . . 2 : type de triangle .
43 c . . . . 3 : numero de surface de frontiere .
44 c . . . . 4 : famille des aretes internes apres raf.
45 c . ulsort . e . 1 . numero d'unite logique de la liste standard.
46 c . langue . e . 1 . langue des messages .
47 c . . . . 1 : francais, 2 : anglais .
48 c . codret . es . 1 . code de retour des modules .
49 c . . . . 0 : pas de probleme .
50 c . . . . 1 : probleme .
51 c ______________________________________________________________________
54 c 0. declarations et dimensionnement
57 c 0.1. ==> generalites
63 parameter ( nompro = 'PCMAT0' )
84 integer hettri(nbtrto)
86 integer cfatri(nctftr,nbftri), famtri(nbtrto)
88 integer ulsort, langue, codret
90 c 0.4. ==> variables locales
96 parameter ( nbmess = 20 )
97 character*80 texte(nblang,nbmess)
99 c 0.5. ==> initialisations
100 c ______________________________________________________________________
108 #ifdef _DEBUG_HOMARD_
109 write (ulsort,texte(langue,1)) 'Entree', nompro
116 c 2. Decompte des triangles actifs et du calcul
121 do 21 , iaux = 1 , nbtrto
123 #ifdef _DEBUG_HOMARD_
124 write (ulsort,texte(langue,11)) mess14(langue,2,2), iaux
125 write (ulsort,texte(langue,12))
126 > cotyel, cfatri(cotyel,famtri(iaux))
129 if ( cfatri(cotyel,famtri(iaux)).ne.0 ) then
131 etat = mod( hettri(iaux) , 10 )
133 #ifdef _DEBUG_HOMARD_
134 write (ulsort,texte(langue,13)) hettri(iaux), etat
137 if ( etat.eq.0 .or. hierar.ne.0 ) then
150 #ifdef _DEBUG_HOMARD_
151 write (ulsort,texte(langue,18)) mess14(langue,3,2), rstrto
158 if ( codret.ne.0 ) then
162 write (ulsort,texte(langue,1)) 'Sortie', nompro
163 write (ulsort,texte(langue,2)) codret
167 #ifdef _DEBUG_HOMARD_
168 write (ulsort,texte(langue,1)) 'Sortie', nompro