Télécharger ecevol.eso

Retour à la liste

Numérotation des lignes :

ecevol
  1. C ECEVOL SOURCE OF166741 24/10/25 21:15:04 12049
  2.  
  3. C ====================================================================
  4. C = ECRITURE DE L'OBJET EVOLUTION =
  5. C = CREATION : 01/10/86 =
  6. C = PROGRAMMEUR : GUILBAUD =
  7. C ====================================================================
  8.  
  9. SUBROUTINE ECEVOL(MEVOLL,jentet)
  10.  
  11. IMPLICIT INTEGER(I-N)
  12. IMPLICIT REAL*8(A-H,O-Z)
  13.  
  14. -INC PPARAM
  15. -INC CCOPTIO
  16. -INC CCGEOME
  17.  
  18. -INC SMLREEL
  19. -INC SMEVOLL
  20. -INC SMLENTI
  21. -INC SMLMOTS
  22.  
  23. PARAMETER (NBSTY=7,NBMAR=13,NBTAI=5)
  24. CHARACTER*4 MOSTYL(NBSTY),MOMARQ(NBMAR),MOTAIL(NBTAI)
  25. DATA MOSTYL/'LIGN','TIRR','TIRC','TIRL','TIRM','POIN','NOLI'/
  26. DATA MOMARQ/'CROI','PLUS','MOIN','BARR','ETOI','CARR',
  27. & 'LOSA','ROND','TRID','TRIU','TRIL','TRIR',
  28. & 'NOMA'/
  29. DATA MOTAIL/'XS ','S ','M ','L ','XL '/
  30.  
  31.  
  32. SEGACT MEVOLL
  33. WRITE (IOIMP,100) IEVTEX
  34. 100 FORMAT (2X,A72)
  35. N=IEVOLL(/1)
  36. INTERR(1)=MEVOLL
  37. INTERR(2)=N
  38. MOTERR(1:8)=ITYEVO
  39. CALL ERREUR(-116)
  40.  
  41. DO 1 I=1,N
  42. KEVOLL=IEVOLL(I)
  43. SEGACT KEVOLL
  44. MOTERR = '----???? ???? ?? '
  45. INTERR(1)=I
  46. MOTERR(1:4)=NCOUL(NUMEVX)
  47. IF (LSTYL.GE.1 .AND. LSTYL.LE.NBSTY) MOTERR(5:8)=MOSTYL(LSTYL)
  48. mrq1 = kevoll.MMARQ
  49. IF (mrq1.LT.1 .OR. mrq1.GT.NBMAR) mrq1 = NBMAR
  50. MOTERR(10:13) = MOMARQ(mrq1)
  51. IF (KTAIL.GE.1 .AND. KTAIL.LE.NBTAI) MOTERR(15:18)=MOTAIL(KTAIL)
  52. CALL ERREUR(-117)
  53. WRITE (IOIMP,100) KEVTEX
  54. MOTERR(1:12)= NOMEVX
  55. CALL ERREUR(-118)
  56. MOTERR(1:4)=NUMEVY
  57. MOTERR(5:16)=NOMEVY
  58. CALL ERREUR(-119)
  59.  
  60. IF(TYPX.EQ.'LISTREEL')THEN
  61. MLREEL=IPROGX
  62. SEGACT MLREEL
  63. NPAS=PROG(/1)
  64. npi=npas
  65. if(jentet.eq.1) npi=min(npi,10)
  66. INTERR(1)=NPAS
  67. CALL ERREUR(-120)
  68.  
  69. IF(TYPY.EQ.'LISTREEL') THEN
  70. MLREE2=IPROGY
  71. SEGACT,MLREE2
  72. WRITE(IOIMP,101)(J,PROG(J),MLREE2.PROG(J),J=1,NPi)
  73. C 101 FORMAT(/4(1X,I5,1X,1PE12.5,1X,1PE12.5,1X))
  74. 101 FORMAT(/(3X,I5,3X,1PE12.5,3X,1PE12.5))
  75. SEGDES,MLREE2
  76.  
  77. ELSEIF(TYPY.EQ.'LISTMOTS') THEN
  78. MLMOT2=IPROGY
  79. SEGACT,MLMOT2
  80. WRITE(IOIMP,102)(J,PROG(J),MLMOT2.MOTS(J),J=1,NPi)
  81. C 102 FORMAT(/4(1X,I5,1X,1PE12.5,1X,A8,1X))
  82. 102 FORMAT(/(3X,I5,3X,1PE12.5,3X,A24))
  83. SEGDES,MLMOT2
  84.  
  85. ELSEIF(TYPY.EQ.'LISTENTI') THEN
  86. MLENT2=IPROGY
  87. SEGACT,MLENT2
  88. WRITE(IOIMP,103)(J,PROG(J),MLENT2.LECT(J),J=1,NPi)
  89. C 103 FORMAT(/4(1X,I5,1X,1PE12.5,1X,A8,1X))
  90. 103 FORMAT(/(3X,I5,3X,1PE12.5,3X,I8))
  91. SEGDES,MLENT2
  92. ENDIF
  93. SEGDES,MLREEL
  94.  
  95. ELSEIF(TYPX.EQ.'LISTMOTS') THEN
  96. MLMOTS=IPROGX
  97. SEGACT MLMOTS
  98. NPAS=MOTS(/2)
  99. npi=npas
  100. if(jentet.eq.1) npi=min(npi,10)
  101. INTERR(1)=NPAS
  102. CALL ERREUR(-120)
  103.  
  104. IF(TYPY.EQ.'LISTREEL') THEN
  105. MLREE2=IPROGY
  106. SEGACT,MLREE2
  107. WRITE(IOIMP,111)(J,MOTS(J),MLREE2.PROG(J),J=1,NPi)
  108. C 111 FORMAT(/4(1X,I5,1X,A8,1X,1PE12.5,1X))
  109. 111 FORMAT(/(3X,I5,3X,A24,3X,1PE12.5))
  110. SEGDES,MLREE2
  111.  
  112. ELSEIF(TYPY.EQ.'LISTMOTS') THEN
  113. MLMOT2=IPROGY
  114. SEGACT,MLMOT2
  115. WRITE(IOIMP,112)(J,MOTS(J),MLMOT2.MOTS(J),J=1,NPi)
  116. C 112 FORMAT(/4(1X,I5,1X,A8,1X,A8,1X))
  117. 112 FORMAT(/(3X,I5,3X,A24,3X,A24))
  118. SEGDES,MLMOT2
  119.  
  120. ELSEIF(TYPY.EQ.'LISTENTI') THEN
  121. MLENT2=IPROGY
  122. SEGACT,MLENT2
  123. WRITE(IOIMP,113)(J,MOTS(J),MLENT2.LECT(J),J=1,NPi)
  124. C 113 FORMAT(/4(1X,I5,1X,A8,1X,A8,1X))
  125. 113 FORMAT(/(3X,I5,3X,A24,3X,I8))
  126. SEGDES,MLENT2
  127. ENDIF
  128. SEGDES,MLMOTS
  129.  
  130. ELSEIF(TYPX.EQ.'LISTENTI') THEN
  131. MLENTI=IPROGX
  132. SEGACT MLENTI
  133. NPAS=LECT(/1)
  134. npi=npas
  135. if(jentet.eq.1) npi=min(npi,10)
  136. INTERR(1)=NPAS
  137. CALL ERREUR(-120)
  138.  
  139. IF(TYPY.EQ.'LISTREEL') THEN
  140. MLREE2=IPROGY
  141. SEGACT,MLREE2
  142. WRITE(IOIMP,121)(J,LECT(J),MLREE2.PROG(J),J=1,NPi)
  143. C 121 FORMAT(/4(1X,I5,1X,A8,1X,1PE12.5,1X))
  144. 121 FORMAT(/(3X,I5,3X,I8,3X,1PE12.5))
  145. SEGDES,MLREE2
  146.  
  147. ELSEIF(TYPY.EQ.'LISTMOTS') THEN
  148. MLMOT2=IPROGY
  149. SEGACT MLMOT2
  150. WRITE(IOIMP,122)(J,LECT(J),MLMOT2.MOTS(J),J=1,NPi)
  151. C 122 FORMAT(/4(1X,I5,1X,A8,1X,A8,1X))
  152. 122 FORMAT(/(3X,I5,3X,I8,3X,A24))
  153. SEGDES,MLMOT2
  154.  
  155. ELSEIF(TYPY.EQ.'LISTENTI') THEN
  156. MLENT2=IPROGY
  157. SEGACT,MLENT2
  158. WRITE(IOIMP,123)(J,LECT(J),MLENT2.LECT(J),J=1,NPi)
  159. C 123 FORMAT(/4(1X,I5,1X,A8,1X,A8,1X))
  160. 123 FORMAT(/(3X,I5,3X,I8,3X,I8))
  161. SEGDES,MLENT2
  162. ENDIF
  163. SEGDES,MLENTI
  164. ENDIF
  165. SEGDES KEVOLL
  166. 1 CONTINUE
  167. SEGDES MEVOLL
  168.  
  169. C RETURN
  170. END
  171.  
  172.  
  173.  

© Cast3M 2003 - Tous droits réservés.
Mentions légales