intere
C INTERE SOURCE CHAT 05/01/13 00:40:37 5004 C INTERE SOURCE NECH 99/9/12 C IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) C *--------------------------------------------------------------------* * * * INTERPOLATION DES LOIS D'EVOLUTION * * * *--------------------------------------------------------------------* C DIMENSION TE(6), A(6) C IF(T.LE.TE(1))THEN DF=1.D0 ELSE IF(T.LT.TE(2))THEN AA=(A(2)-A(1))/(TE(2)-TE(1)) AB=(TE(2)*A(1)-TE(1)*A(2))/(TE(2)-TE(1)) DF=AA*T+AB ELSE IF(T.LT.TE(3))THEN AA=(A(3)-A(2))/(TE(3)-TE(2)) AB=(TE(3)*A(2)-TE(2)*A(3))/(TE(3)-TE(2)) DF=AA*T+AB ELSE IF(T.LT.TE(4))THEN AA=(A(4)-A(3))/(TE(4)-TE(3)) AB=(TE(4)*A(3)-TE(3)*A(4))/(TE(4)-TE(3)) DF=AA*T+AB ELSE IF(T.LT.TE(5))THEN AA=(A(5)-A(4))/(TE(5)-TE(4)) AB=(TE(5)*A(4)-TE(4)*A(5))/(TE(5)-TE(4)) DF=AA*T+AB ELSE AA=(A(6)-A(5))/(TE(6)-TE(5)) AB=(TE(6)*A(5)-TE(5)*A(6))/(TE(6)-TE(5)) DF=AA*T+AB ENDIF ENDIF ENDIF ENDIF ENDIF C C~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales