OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s8get_x3.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
!||====================================================================
24
!|| s8get_x3 ../engine/source/elements/solid/solide/s8get_x3.F
25
!||--- called by ------------------------------------------------------
26
!|| s8cforc3 ../engine/source/elements/thickshell/solide8c/s8cforc3.F
27
!|| s8eforc3 ../engine/source/elements/solid/solide8e/s8eforc3.F
28
!|| scforc3 ../engine/source/elements/thickshell/solidec/scforc3.F
29
!|| sforc3 ../engine/source/elements/solid/solide/sforc3.F
30
!|| szforc3 ../engine/source/elements/solid/solidez/szforc3.F
31
!||====================================================================
32
SUBROUTINE
s8get_x3
(
33
. NC1, NC2, NC3, NC4,
34
. NC5, NC6, NC7, NC8,
35
. X1, X2, X3, X4,
36
. X5, X6, X7, X8,
37
. Y1, Y2, Y3, Y4,
38
. Y5, Y6, Y7, Y8,
39
. Z1, Z2, Z3, Z4,
40
. Z5, Z6, Z7, Z8,
41
. X, XDP, NUMNOD, NEL )
42
C-----------------------------------------------
43
C I m p l i c i t T y p e s
44
C-----------------------------------------------
45
#include "implicit_f.inc"
46
C-----------------------------------------------
47
C G l o b a l P a r a m e t e r s
48
C-----------------------------------------------
49
#include "mvsiz_p.inc"
50
C-----------------------------------------------
51
C C o m m o n B l o c k s
52
C-----------------------------------------------
53
C-----------------------------------------------
54
C D u m m y A r g u m e n t s
55
C-----------------------------------------------
56
INTEGER
,
INTENT(IN)
:: NUMNOD,NEL
57
INTEGER
,
DIMENSION(MVSIZ)
,
INTENT(IN)
::
58
. NC1, NC2, NC3, NC4,
59
. NC5, NC6, NC7, NC8
60
!
61
my_real,
DIMENSION(3,NUMNOD)
,
INTENT(IN)
:: X
62
DOUBLE PRECISION
,
DIMENSION(3,NUMNOD)
,
INTENT(IN)
::XDP
63
my_real,
DIMENSION(MVSIZ)
,
INTENT(INOUT)
::
64
. X1, X2, X3, X4,
65
. x5, x6, x7, x8,
66
. y1, y2, y3, y4,
67
. y5, y6, y7, y8,
68
. z1, z2, z3, z4,
69
. z5, z6, z7, z8
70
C-----------------------------------------------
71
C L o c a l V a r i a b l e s
72
C-----------------------------------------------
73
INTEGER
I, J
74
C REAL
75
C-----------------------------------------------
76
#ifdef MYREAL8
77
DO
I=1,nel
78
x1(i)=x(1,nc1(i))
79
y1(i)=x(2,nc1(i))
80
z1(i)=x(3,nc1(i))
81
x2(i)=x(1,nc2(i))
82
y2(i)=x(2,nc2(i))
83
z2
(i)=x(3,nc2(i))
84
x3(i)=x(1,nc3(i))
85
y3(i)=x(2,nc3(i))
86
z3(i)=x(3,nc3(i))
87
x4(i)=x(1,nc4(i))
88
y4(i)=x(2,nc4(i))
89
z4(i)=x(3,nc4(i))
90
x5(i)=x(1,nc5(i))
91
y5(i)=x(2,nc5(i))
92
z5(i)=x(3,nc5(i))
93
x6(i)=x(1,nc6(i))
94
y6(i)=x(2,nc6(i))
95
z6(i)=x(3,nc6(i))
96
x7(i)=x(1,nc7(i))
97
y7(i)=x(2,nc7(i))
98
z7(i)=x(3,nc7(i))
99
x8(i)=x(1,nc8(i))
100
y8(i)=x(2,nc8(i))
101
z8(i)=x(3,nc8(i))
102
ENDDO
103
#else
104
DO
i=1,nel
105
x1(i)=xdp(1,nc1(i))
106
y1(i)=xdp(2,nc1(i))
107
z1(i)=xdp(3,nc1(i))
108
x2(i)=xdp(1,nc2(i))
109
y2(i)=xdp(2,nc2(i))
110
z2(i)=xdp(3,nc2(i))
111
x3(i)=xdp(1,nc3(i))
112
y3(i)=xdp(2,nc3(i))
113
z3(i)=xdp(3,nc3(i))
114
x4(i)=xdp(1,nc4(i))
115
y4(i)=xdp(2,nc4(i))
116
z4(i)=xdp(3,nc4(i))
117
x5(i)=xdp(1,nc5(i))
118
y5(i)=xdp(2,nc5(i))
119
z5(i)=xdp(3,nc5(i))
120
x6(i)=xdp(1,nc6(i))
121
y6(i)=xdp(2,nc6(i))
122
z6(i)=xdp(3,nc6(i))
123
x7(i)=xdp(1,nc7(i))
124
y7(i)=xdp(2,nc7(i))
125
z7(i)=xdp(3,nc7(i))
126
x8(i)=xdp(1,nc8(i))
127
y8(i)=xdp(2,nc8(i))
128
z8(i)=xdp(3,nc8(i))
129
ENDDO
130
#endif
131
C-----------
132
RETURN
133
END
s8get_x3
subroutine s8get_x3(nc1, nc2, nc3, nc4, nc5, nc6, nc7, nc8, x1, x2, x3, x4, x5, x6, x7, x8, y1, y2, y3, y4, y5, y6, y7, y8, z1, z2, z3, z4, z5, z6, z7, z8, x, xdp, numnod, nel)
Definition
s8get_x3.F:42
engine
source
elements
solid
solide
s8get_x3.F
Generated by
1.15.0