pospre
C POSPRE SOURCE CHAT 05/01/13 02:18:16 5004 C =============================================== C======================================================================= C COMPUTATION OF THE RESPONSE SPECTRA FROM A POWER C SPECTRA C C MTRAV=F(NSPT),S(NSPT) ,ETI(NAMRT), T(NI), RES(NAMRT,NI) C C F(1:NSPT) C S(1:NSPT) =FREQUENCY AND P. SPC. VALUES C NSPT =NUMBER OF P. SPC. VALUES C C ETI(1:NAMRT) =DAMPING VALUES C NAMRT =NUMBER OF DAMPING VALUES C C IG =TYPE OF THE RESPONSE (1 ACCELERATION,2 VELOCITY, C 3 DISPLACEMENT) C ID =TYPE OF THE MAXIMUM DISTRIBUTION (1 CRAMER, C 2 NEWGUMB) C C TE =TIME DURATION C C T(1:NT) =PERIODS AVAILABLE (INPUT) C T(1:NT) =PERIODS (OUTPUT) C NT =NUMBER OF PERIOD AVAILABLE (INPUT) C NT =NUMBER OF PERIOD (OUTPUT) C -->IF NT=0 T SHOULD BE COMPUTED AND NT<201 C -->IF NT>0 T IS USED C C RES(1:NAMRT,1:NT) C = RESPONSE SPECTRA FOR VARIOUS DAMPING C VALUES C C FROM A.P. CUSTUMIZED BY P.P. 27/2/90 + 2/4/90 + 15/9/91 C ============================ C======================================================================= IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) C======+++++++++++ bon fontionnement erreur PSRS/PRNS +++++++++++ ====== -INC PPARAM -INC CCOPTIO SEGMENT,MTRAV ENDSEGMENT SEGMENT,MMTRA IMPLIED XLTIME(NNT,3) ENDSEGMENT NNT=1 SEGINI,MMTRA C======+++++++++++ bon fontionnement erreur PSRS/PRNS +++++++++++ ====== C DPI=8*ATAN(1.D0) C C SELECTION OF PERIODS C (IF NT >0 THE PERIODS ARE SELECTED BY THE USER) C =================== IF(NT.EQ.0)THEN NT=75 TINF=.04D0 UNPXI=EXP((LOG(TE)-LOG(TINF))/(NT-1)) T(1)=TINF DO 300 I=2,NT 300 T(I)=T(I-1)*UNPXI T(NT)=TE ENDIF C COMPUTING OF RESPONSE SPECTRA C ============================= DO 350 J=1,NAMRT ETA=ETI(J) DO 351 I=1,NT FRQ=1/T(I) C -MOMENT C ------ C CALL MOMENT(FRQ,ETA,TE,NSPT,F,S, IG, XL0,XL1,XL2) > XLTIME(1,2),XLTIME(1,3)) C -DISTRIBUTION C ------------ C CALL DISTRI(XL0,XL1,XL2,TE, ID,DPI, VALMAX) RES(J,I)=VALMAX 351 CONTINUE 350 CONTINUE SEGSUP,MMTRA RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales