chmred
C CHMRED SOURCE CHAT 05/01/12 21:59:52 5004 IMPLICIT INTEGER(I-N) IMPLICIT REAL*8 (A-H,O-Z) C------------------------------------------------------------------ C C LECTURE DE LA TABLE REDOX SI ELLE EXISTE C SINON ON INITIALISE LE POINTEURS A 0 C C------------------------------------------------------------------ -INC SMTABLE -INC SMLENTI -INC SMLREEL -INC PPARAM -INC CCOPTIO SEGMENT IZRED INTEGER ITAB(NCR,2) REAL*8 ATAB(NCR,2) ENDSEGMENT CHARACTER*8 MTYPI,CHARI,MTYPR,CHARR,MTYPS,CHARS LOGICAL LOGRE C IZRED=0 IF(ITREDO.EQ.0)RETURN MTAB1=ITREDO SEGACT MTAB1 IRETR=0 IVALI=0 XVALI=0.D0 IRETI=0 IVALR=0 XVALR=0.D0 MTYPI='MOT ' MTYPR='LISTENTI' CHARR=' ' *IRETI,MTYPR,IVALR,XVALR,CHARR,LOGRE,IP1) IF(IERR.NE.0)RETURN MLENTI=IP1 SEGACT MLENTI NCR=LECT(/1) SEGINI IZRED SEGDES MLENTI IRETR=0 IVALI=0 XVALI=0.D0 IRETI=0 IVALR=0 XVALR=0.D0 MTYPI='MOT ' MTYPR='LISTENTI' CHARR=' ' *IRETI,MTYPR,IVALR,XVALR,CHARR,LOGRE,IP1) IF(IERR.NE.0)RETURN MLENTI=IP1 SEGACT MLENTI JG=LECT(/1) IF(JG.NE.NCR)THEN RETURN ENDIF SEGDES MLENTI IRETR=0 IVALI=0 XVALI=0.D0 IRETI=0 IVALR=0 XVALR=0.D0 MTYPI='MOT ' MTYPR='LISTREEL' CHARR=' ' *IRETI,MTYPR,IVALR,XVALR,CHARR,LOGRE,IP1) IF(IERR.NE.0)RETURN MLREEL=IP1 SEGACT MLREEL IF(JG.NE.NCR)THEN RETURN ENDIF SEGDES MLREEL IRETR=0 IVALI=0 XVALI=0.D0 IRETI=0 IVALR=0 XVALR=0.D0 MTYPI='MOT ' MTYPR='LISTREEL' CHARR=' ' *IRETI,MTYPR,IVALR,XVALR,CHARR,LOGRE,IP1) IF(IERR.NE.0)RETURN MLREEL=IP1 SEGACT MLREEL IF(JG.NE.NCR)THEN RETURN ENDIF SEGDES MLREEL,MTAB1 RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales