Télécharger chmsrt.eso

Retour à la liste

Numérotation des lignes :

chmsrt
  1. C CHMSRT SOURCE CB215821 20/11/25 13:19:34 10792
  2. c modfi PhM: on arajoute le chpoint des erreur
  3. SUBROUTINE CHMSRT(MCHAQU,MCHFIX,MCHSOL,MCHSUR,MCHTY3,MCHTY4,
  4. * MCHTY5,MCHTY6,MCHFIO,MCHPRE,MCHPOL,MCHGKS,MCHLGC,MCHERR)
  5. IMPLICIT INTEGER(I-N)
  6. IMPLICIT REAL*8 (A-H,O-Z)
  7. C------------------------------------------------------------------
  8. C
  9. C CHARGEMENT DE LA TABLE RESULTAT DE CHI2
  10. C
  11. C------------------------------------------------------------------
  12. c modif PhM 12/00 : on rajoute le chpoint des erreur
  13. c
  14. -INC SMTABLE
  15. -INC SMCHPOI
  16.  
  17. -INC PPARAM
  18. -INC CCOPTIO
  19. CHARACTER*8 MTYPI,CHARI,MTYPR,CHARR
  20. C
  21. CALL CRTABL(MTAB1)
  22. CALL ECCTAB(MTAB1,'MOT',0,0.D0,'SOUSTYPE',.TRUE.,0,'MOT',
  23. * 0,0.D0,'CHIMI2',.TRUE.,0)
  24. IVALI=0
  25. XVALI=0.D0
  26. IRETI=0
  27. IVALR=0
  28. XVALR=0.D0
  29. MTYPI='MOT '
  30. IRETR=MCHAQU
  31. MTYPR='CHPOINT '
  32. CHARR=' '
  33. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'AQUE',.TRUE.,
  34. *IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  35. MCHPOI=MCHAQU
  36. MSOUPO=IPCHP(1)
  37. MPOVAL=IPOVAL
  38. SEGDES MCHPOI,MSOUPO,MPOVAL
  39. IRETR=MCHFIX
  40. MTYPR='CHPOINT '
  41. CHARR=' '
  42. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'FIXE',.TRUE.,
  43. *IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  44. MCHPOI=MCHFIX
  45. MSOUPO=IPCHP(1)
  46. MPOVAL=IPOVAL
  47. SEGDES MCHPOI,MSOUPO,MPOVAL
  48. IRETR=MCHLGC
  49. MTYPR='CHPOINT '
  50. CHARR=' '
  51. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'LOGC',.TRUE.,
  52. *IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  53. MCHPOI=MCHLGC
  54. MSOUPO=IPCHP(1)
  55. MPOVAL=IPOVAL
  56. SEGDES MCHPOI,MSOUPO,MPOVAL
  57.  
  58.  
  59.  
  60. IRETR=MCHERR
  61. MTYPR='CHPOINT '
  62. CHARR=' '
  63. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'ERR',.TRUE.,
  64. *IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  65. MCHPOI=MCHERR
  66. MSOUPO=IPCHP(1)
  67. MPOVAL=IPOVAL
  68. SEGDES MCHPOI,MSOUPO,MPOVAL
  69.  
  70. IF(MCHSOL.NE.0)THEN
  71. IRETR=MCHSOL
  72. MTYPR='CHPOINT '
  73. CHARR=' '
  74. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'SOLU',.TRUE.,
  75. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  76. MCHPOI=MCHSOL
  77. MSOUPO=IPCHP(1)
  78. MPOVAL=IPOVAL
  79. SEGDES MCHPOI,MSOUPO,MPOVAL
  80. ENDIF
  81. IF(MCHSUR.NE.0)THEN
  82. IRETR=MCHSUR
  83. MTYPR='CHPOINT '
  84. CHARR=' '
  85. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'SURF',.TRUE.,
  86. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  87. MCHPOI=MCHSUR
  88. MSOUPO=IPCHP(1)
  89. MPOVAL=IPOVAL
  90. SEGDES MCHPOI,MSOUPO,MPOVAL
  91. ENDIF
  92. IF(MCHTY3.NE.0)THEN
  93. IRETR=MCHTY3
  94. MTYPR='CHPOINT '
  95. CHARR=' '
  96. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'TYP3',.TRUE.,
  97. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  98. MCHPOI=MCHTY3
  99. MSOUPO=IPCHP(1)
  100. MPOVAL=IPOVAL
  101. SEGDES MCHPOI,MSOUPO,MPOVAL
  102. ENDIF
  103. IF(MCHTY4.NE.0)THEN
  104. IRETR=MCHTY4
  105. MTYPR='CHPOINT '
  106. CHARR=' '
  107. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'NTY4',.TRUE.,
  108. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  109. MCHPOI=MCHTY4
  110. MSOUPO=IPCHP(1)
  111. MPOVAL=IPOVAL
  112. SEGDES MCHPOI,MSOUPO,MPOVAL
  113. ENDIF
  114. IF(MCHTY5.NE.0)THEN
  115. IRETR=MCHTY5
  116. MTYPR='CHPOINT '
  117. CHARR=' '
  118. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'TYP5',.TRUE.,
  119. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  120. MCHPOI=MCHTY5
  121. MSOUPO=IPCHP(1)
  122. MPOVAL=IPOVAL
  123. SEGDES MCHPOI,MSOUPO,MPOVAL
  124. ENDIF
  125. IF(MCHTY6.NE.0)THEN
  126. IRETR=MCHTY6
  127. MTYPR='CHPOINT '
  128. CHARR=' '
  129. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'TYP6',.TRUE.,
  130. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  131. MCHPOI=MCHTY6
  132. MSOUPO=IPCHP(1)
  133. MPOVAL=IPOVAL
  134. SEGDES MCHPOI,MSOUPO,MPOVAL
  135. ENDIF
  136. IF(MCHPOL.NE.0)THEN
  137. IRETR=MCHPOL
  138. MTYPR='CHPOINT '
  139. CHARR=' '
  140. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'POLE',.TRUE.,
  141. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  142. MCHPOI=MCHPOL
  143. MSOUPO=IPCHP(1)
  144. MPOVAL=IPOVAL
  145. SEGDES MCHPOI,MSOUPO,MPOVAL
  146. ENDIF
  147. IF(MCHGKS.NE.0)THEN
  148. * write(6,*)'chmsrt mchgks',mchgks
  149. IRETR=MCHGKS
  150. MTYPR='CHPOINT '
  151. CHARR=' '
  152. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'LOGK',.TRUE.,
  153. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  154. MCHPOI=MCHGKS
  155. MSOUPO=IPCHP(1)
  156. MPOVAL=IPOVAL
  157. SEGDES MCHPOI,MSOUPO,MPOVAL
  158. ENDIF
  159. IF(MCHFIO.NE.0)THEN
  160. IRETR=MCHFIO
  161. MTYPR='CHPOINT '
  162. CHARR=' '
  163. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'FION',.TRUE.,
  164. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  165. MCHPOI=MCHFIO
  166. MSOUPO=IPCHP(1)
  167. MPOVAL=IPOVAL
  168. SEGDES MCHPOI,MSOUPO,MPOVAL
  169. ENDIF
  170. IF(MCHPRE.NE.0)THEN
  171. IRETR=MCHPRE
  172. MTYPR='CHPOINT '
  173. CHARR=' '
  174. CALL ECCTAB(MTAB1,MTYPI,IVALI,XVALI,'PREC',.TRUE.,
  175. * IRETI,MTYPR,IVALR,XVALR,CHARR,.TRUE.,IRETR)
  176. MCHPOI=MCHPRE
  177. MSOUPO=IPCHP(1)
  178. MPOVAL=IPOVAL
  179. SEGDES MCHPOI,MSOUPO,MPOVAL
  180. ENDIF
  181. CALL ECROBJ('TABLE',MTAB1)
  182. SEGDES MTAB1
  183. RETURN
  184. END
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  

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