calpin
C CALPIN SOURCE CB215821 16/04/21 21:15:30 8920 C CALPIN SOURCE INSL 24/10/96 1 AA,BB,DK1,DK2,ILOI,RB,EX,PXY) C IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) DIMENSION S1(NSTRS),DFSI(6),STRN(NSTRS),DGSI(6),SIGR(NSTRS) DIMENSION SS(100,6),CR(100,3),SIGM(NSTRS) C------------------------------------------------------------------- C WRITE(*,*) '**** ON EST DANS CALPIN ******' C------------------------------------------------------------------- C------------------------------------------------------------------- TU=RB PRB=1.D-5 NIB=2 ICHOI=1 IPREM=0 C------------------------------------------------------------------- BETC=EBC/EX C------------------------------------------------------------------- PAEC0=EBC/(1.D0-BETC) IF(SEQ.LT.1.D-10) IPREM=1 IF(SEQ.GT.TU) SEQ=TU C------------------------------------------------------------------- DO 10 I=1,NSTRS IF(IPREM.EQ.0) THEN S1(I)=SIGR(I) ELSE S1(I)=SIGR(I)+SIGM(I) ENDIF 10 CONTINUE C------------------------------------------------------------------- IF(IPREM.EQ.1) THEN IF(NIB.EQ.1) NIB = 10 ENDIF C------------------------------------------------------------------- SEQ0=SEQ C------------------------------------------------------------------- DO 1 II=1,NIB SEQ1=SEQ C------------------------------------------------------------------- C ************************************** C * BOUCLE SUR LES ITERATIONS INTERNES * C ************************************** C------------------------------------------------------------------- IF(SEQ.LT.1.D-10) THEN GOTO 40 ENDIF H2=0.D0 DO 92 I=1,NSTRS H2=H2+DFSI(I)*DGSI(I) 92 CONTINUE PAEC=PAEC0*H2 C------------------------------------------------------------------- & DK1,DK2,RB,ILOI) C------------------------------------------------------------------- 40 CONTINUE DO 45 I=1,NSTRS S1(I)=SIGR(I)+S(I) 45 CONTINUE C--------------------------------------------------------------------- IF(ABS(FCRI).LT.PRB) GOTO 7 DO 4 J=1,NSTRS SS(II,J)=S1(J) 4 CONTINUE CR(II,1)=FCRI CR(II,2)=SEQ CR(II,3)=PAEC C------------------------------------------------------------------- C ************************************************ C * FIN DE LA BOUCLE SUR LES ITERATIONS INTERNES * C ************************************************ 1 CONTINUE C-------------------------------------------------------------------------- DMMN1=ABS(CR(1,1)) NO=1 DO 5 J=1,NIB ACR=ABS(CR(J,1)) IF(DMMN1 .GE. ACR) THEN DMMN1=ABS(CR(J,1)) NO=J ENDIF 5 CONTINUE DO 6 J=1,NSTRS S1(J)=SS(NO,J) IF(ABS(S1(I)).LT.1.D-8) S1(I)=0.D0 6 CONTINUE SEQ=CR(NO,2) PAEC=CR(NO,3) 7 CONTINUE C---------------------------------------------------------------------- IF(SEQ.GT.TU) SEQ=TU 1 DK1,DK2,RB,ILOI) C-------------------------------------------------------------------------- 200 CONTINUE C-------------------------------------------------------------------------- 1991 FORMAT(18(1X,E12.5)) C-------------------------------------------------------------------------- RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales