OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
r4sumg3.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| r4sumg3 ../engine/source/elements/spring/r4sumg3.F
25!||--- called by ------------------------------------------------------
26!|| r4ke3 ../engine/source/elements/spring/r4ke3.F
27!|| ruser32ke3 ../engine/source/elements/spring/ruser32ke3.F
28!|| tke3 ../engine/source/elements/truss/tke3.F
29!||====================================================================
30 SUBROUTINE r4sumg3(JFT ,JLT ,AL ,KX ,R11 ,
31 3 R21 ,R31 ,KE11 ,KE12 ,KE22 )
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
75 END
76
#define my_real
Definition cppsort.cpp:32
subroutine r4sumg3(jft, jlt, al, kx, r11, r21, r31, ke11, ke12, ke22)
Definition r4sumg3.F:32