OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s4sav12.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!|| s4sav12 ../engine/source/elements/solid/solide4/s4sav12.F
25!||--- called by ------------------------------------------------------
26!|| s4forc3 ../engine/source/elements/solid/solide4/s4forc3.F
27!||====================================================================
28 SUBROUTINE s4sav12(
29 1 OFFG, OFFG0, SAV, XD1,
30 2 XD2, XD3, XD4, YD1,
31 3 YD2, YD3, YD4, ZD1,
32 4 ZD2, ZD3, ZD4, NEL)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C G l o b a l P a r a m e t e r s
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER NEL
48C REAL
49 my_real
50 . OFFG(*),OFFG0(*)
51 DOUBLE PRECISION
52 . XD1(MVSIZ), XD2(MVSIZ), XD3(MVSIZ), XD4(MVSIZ),
53 . yd1(mvsiz), yd2(mvsiz), yd3(mvsiz), yd4(mvsiz),
54 . zd1(mvsiz), zd2(mvsiz), zd3(mvsiz), zd4(mvsiz),sav(nel,9)
55
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I
60C REAL
61C-----------------------------------------------
62C
63 DO i=1,nel
64 IF(offg(i)/=offg0(i).AND.abs(offg(i)) > one)THEN
65 sav(i,1)=xd1(i)-xd4(i)
66 sav(i,2)=yd1(i)-yd4(i)
67 sav(i,3)=zd1(i)-zd4(i)
68 sav(i,4)=xd2(i)-xd4(i)
69 sav(i,5)=yd2(i)-yd4(i)
70 sav(i,6)=zd2(i)-zd4(i)
71 sav(i,7)=xd3(i)-xd4(i)
72 sav(i,8)=yd3(i)-yd4(i)
73 sav(i,9)=zd3(i)-zd4(i)
74 ENDIF
75 ENDDO
76C
77 RETURN
78 END
subroutine s4sav12(offg, offg0, sav, xd1, xd2, xd3, xd4, yd1, yd2, yd3, yd4, zd1, zd2, zd3, zd4, nel)
Definition s4sav12.F:33