btuyo
C BTUYO SOURCE CHAT 05/01/12 21:44:30 5004 *----------------------------------------------------------------------- * * CALCUL DE B POUR L'ELEMENT TUYO * *----------------------------------------------------------------------- IMPLICIT INTEGER(I-N) IMPLICIT REAL*8 (A-H,O-Z) -INC PPARAM -INC CCOPTIO -INC SMINTE * SEGMENT WRK1 REAL*8 DDHOOK(NSTRS,NSTRS) ,DDHOMU(NSTRS,NSTRS) REAL*8 REL(LRE,LRE) , XE(3,NBBB) ENDSEGMENT * SEGMENT WRK2 ENDSEGMENT * SEGMENT WRK3 ENDSEGMENT * * INITIALISATIONS * KERRE=0 NSTRS=DDHOOK(/1) LRE =REL(/1) SL=1.D0/XL SL2 = 2.D0*SL SL4 = SL2*SL2 * T=ETAGAU(IGAU) ST=SIN(T) CT=COS(T) S2T=SIN(2.D0*T) C2T=COS(2.D0*T) S4T=SIN(4.D0*T) C4T=COS(4.D0*T) * R2=R*R UNSUR=0.D0 IF(GR.NE.0.D0) UNSUR=1.D0/GR DJAC=XL*0.5D0*R * * CERTAINS TERMES SONT MIS EN SOMMEIL * * LES MEMBRANES * * EPS TET-TET * BGENE(1, 7)=SHPTOT(1,1,IGAU)/R BGENE(1,22)=SHPTOT(1,2,IGAU)/R * * EPS PHI-PHI * BGENE(2, 1)=SHPTOT(2,1,IGAU)*SL2 BGENE(2,16)=SHPTOT(2,2,IGAU)*SL2 * BGENE(2, 3)=-SHPTOT(5,3,IGAU)*SL4*R*CT BGENE(2, 5)= SHPTOT(5,4,IGAU)*SL4*R*CT*XL BGENE(2,18)=-SHPTOT(5,5,IGAU)*SL4*R*CT BGENE(2,20)= SHPTOT(5,6,IGAU)*SL4*R*CT*XL * BGENE(2, 2)=-SHPTOT(5,3,IGAU)*SL4*R*ST BGENE(2, 6)=-SHPTOT(5,4,IGAU)*SL4*R*ST*XL BGENE(2,17)=-SHPTOT(5,5,IGAU)*SL4*R*ST BGENE(2,21)=-SHPTOT(5,6,IGAU)*SL4*R*ST*XL * BGENE(2, 8)=SH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S2T/2.D0 BGENE(3,13)=-SHPTOT(2,1,IGAU)*SL2*S4T/4.D0 BGENE(3,28)=-SHPTOT(2,2,IGAU)*SL2*S4T/4.D0 BGENE(3,14)= SHPTOT(2,1,IGAU)*SL2*C2T/2.D0 BGENE(3,29)= SHPTOT(2,2,IGAU)*SL2*C2T/2.D0 BGENE(3,15)= SHPTOT(2,1,IGAU)*SL2*C4T/4.D0 BGENE(3,30)= SHPTOT(2,2,IGAU)*SL2*C4T/4.D0 * * LES FLEXIONS * * QUI TET-TET * BGENE(4,12)=SHPTOT(1,1,IGAU)*3.D0*C2T/R2 BGENE(4,27)=SHPTOT(1,2,IGAU)*3.D0*C2T/R2 BGENE(4,13)=SHPTOT(1,1,IGAU)*15.D0*C4T/R2 BGENE(4,28)=SHPTOT(1,2,IGAU)*15.D0*C4T/R2 BGENE(4,14)=SHPTOT(1,1,IGAU)*3.D0*S2T/R2 BGENE(4,29)=SHPTOT(1,2,IGAU)*3.D0*S2T/R2 BGENE(4,15)=SHPTOT(1,1,IGAU)*15.D0*S4T/R2 BGENE(4,30)=SHPTOT(1,2,IGAU)*15.D0*S4T/R2 * * 0. POUR LES 2 AUTRES * RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales