OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s8zkeg3.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!|| s8zkeg3 ../engine/source/elements/solid/solide8z/s8zkeg3.F
25!||--- called by ------------------------------------------------------
26!|| s10cumg3 ../engine/source/elements/solid/solide10/s10cumg3.F
27!|| s20cumg3 ../engine/source/elements/solid/solide20/s20cumg3.F
28!|| s4cumg3 ../engine/source/elements/solid/solide4/s4cumg3.F
29!|| s8zlke3 ../engine/source/elements/solid/solide8z/s8zlke3.F
30!||====================================================================
31 SUBROUTINE s8zkeg3(LFT,LLT,
32 . PXYI, PYXI ,PXZI,PZXI ,PYZI,PZYI,
33 . PXYJ, PYXJ ,PXZJ,PZXJ ,PYZJ,PZYJ, G, KIJ,IS)
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
41 INTEGER LFT,LLT,IS
42C REAL
44 . pxyi(*), pyxi(*) ,pxzi(*),pzxi(*) ,pyzi(*),pzyi(*),
45 . pxyj(*), pyxj(*) ,pxzj(*),pzxj(*) ,pyzj(*),pzyj(*),
46 . g(*), kij(3,3,*)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I
51C REAL
52C---+----1----+----2----+----3----+----4----+----5----+----6----+----7--
53 IF (is==1) THEN
54 DO i=lft,llt
55 kij(1,1,i)=kij(1,1,i)+g(i)*(pxyi(i)*pxyj(i)+pxzi(i)*pxzj(i))
56 kij(2,2,i)=kij(2,2,i)+g(i)*(pyxi(i)*pyxj(i)+pyzi(i)*pyzj(i))
57 kij(3,3,i)=kij(3,3,i)+g(i)*(pzxi(i)*pzxj(i)+pzyi(i)*pzyj(i))
58 kij(1,2,i)=kij(1,2,i)+g(i)*pxyi(i)*pyxj(i)
59 kij(1,3,i)=kij(1,3,i)+g(i)*pxzi(i)*pzxj(i)
60 kij(2,3,i)=kij(2,3,i)+g(i)*pyzi(i)*pzyj(i)
61 ENDDO
62 ELSE
63 DO i=lft,llt
64 kij(1,1,i)=kij(1,1,i)+g(i)*(pxyi(i)*pxyj(i)+pxzi(i)*pxzj(i))
65 kij(2,2,i)=kij(2,2,i)+g(i)*(pyxi(i)*pyxj(i)+pyzi(i)*pyzj(i))
66 kij(3,3,i)=kij(3,3,i)+g(i)*(pzxi(i)*pzxj(i)+pzyi(i)*pzyj(i))
67 kij(1,2,i)=kij(1,2,i)+g(i)*pxyi(i)*pyxj(i)
68 kij(2,1,i)=kij(2,1,i)+g(i)*pxyj(i)*pyxi(i)
69 kij(1,3,i)=kij(1,3,i)+g(i)*pxzi(i)*pzxj(i)
70 kij(3,1,i)=kij(3,1,i)+g(i)*pxzj(i)*pzxi(i)
71 kij(2,3,i)=kij(2,3,i)+g(i)*pyzi(i)*pzyj(i)
72 kij(3,2,i)=kij(3,2,i)+g(i)*pyzj(i)*pzyi(i)
73 ENDDO
74 ENDIF
75 RETURN
76 END
#define my_real
Definition cppsort.cpp:32
subroutine s8zkeg3(lft, llt, pxyi, pyxi, pxzi, pzxi, pyzi, pzyi, pxyj, pyxj, pxzj, pzxj, pyzj, pzyj, g, kij, is)
Definition s8zkeg3.F:34