Category : Miscellaneous Language Source Code
Archive   : MATBYU.ZIP
Filename : LOAD.FOR
C...THIS SUBROUTINE FORMS THE TRUSS STIFFNESS AND STRESS MATRICES
C=======================================================================
SUBROUTINE LOAD (I,IP1,IP2,AE,XL,C,STIFF,STRESS,NDOF,NE)
C...ARGUMENTS
INTEGER I,IP1(*),IP2(*),NDOF,NE
DOUBLE PRECISION STIFF(NDOF,*),STRESS(NE,*),AE,XL,C(*)
C...LOCAL VARIABLES
DOUBLE PRECISION AEL,Y,Z
INTEGER J,J1,J2,K,K1,K2
C-----------------------------------------------------------------------
AEL=AE/XL
DO 10 J=1,2
J1=IP1(J)
J2=IP2(J)
C...STRESS MATRIX COEFFICIENTS
Y=AEL*C(J)
STRESS(I,J1)=Y
STRESS(I,J2)=-Y
DO 20 K=1,2
K1=IP1(K)
K2=IP2(K)
C...STIFFNESS MATRIX COEFFICIENTS
Z=Y*C(K)
STIFF(J1,K1)=STIFF(J1,K1)+Z
STIFF(J2,K2)=STIFF(J2,K2)+Z
STIFF(J1,K2)=-Z
STIFF(J2,K1)=-Z
20 CONTINUE
10 CONTINUE
RETURN
C-----------------------------------------------------------------------
END
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/