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