OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
r4sumg3.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine r4sumg3 (jft, jlt, al, kx, r11, r21, r31, ke11, ke12, ke22)

Function/Subroutine Documentation

◆ r4sumg3()

subroutine r4sumg3 ( integer jft,
integer jlt,
al,
kx,
r11,
r21,
r31,
ke11,
ke12,
ke22 )

Definition at line 30 of file r4sumg3.F.

32C---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
33#include "implicit_f.inc"
34C-----------------------------------------------
35C D U M M Y A R G U M E N T S
36C-----------------------------------------------
37 INTEGER JFT,JLT
38 my_real
39 . al(*),kx(*),r11(*),r21(*),r31(*)
41 . ke11(3,3,*),ke22(3,3,*),ke12(3,3,*)
42C-----------------------------------------------
43C L O C A L V A R I A B L E S
44C-----------------------------------------------
45 INTEGER I, J, EP
46C---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
47C---------------------------------------
48C TRANS LOCAL-->GLOBAL
49C---------------------------------------
50 DO ep=jft,jlt
51 ke11(1,1,ep)=kx(ep)*r11(ep)*r11(ep)
52 ke11(1,2,ep)=kx(ep)*r11(ep)*r21(ep)
53 ke11(1,3,ep)=kx(ep)*r11(ep)*r31(ep)
54 ke11(2,2,ep)=kx(ep)*r21(ep)*r21(ep)
55 ke11(2,3,ep)=kx(ep)*r21(ep)*r31(ep)
56 ke11(3,3,ep)=kx(ep)*r31(ep)*r31(ep)
57 ENDDO
58 DO i=1,3
59 DO j=i,3
60 DO ep=jft,jlt
61 ke22(i,j,ep)=ke11(i,j,ep)
62 ke12(i,j,ep)=-ke11(i,j,ep)
63 ENDDO
64 ENDDO
65 ENDDO
66 DO i=1,3
67 DO j=i+1,3
68 DO ep=jft,jlt
69 ke12(j,i,ep)=-ke11(i,j,ep)
70 ENDDO
71 ENDDO
72 ENDDO
73C
74 RETURN
#define my_real
Definition cppsort.cpp:32