OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s8xref_imp.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine s8xref_imp (offg, xref, xd1, xd2, xd3, xd4, xd5, xd6, xd7, xd8, yd1, yd2, yd3, yd4, yd5, yd6, yd7, yd8, zd1, zd2, zd3, zd4, zd5, zd6, zd7, zd8, r, nel)

Function/Subroutine Documentation

◆ s8xref_imp()

subroutine s8xref_imp ( offg,
double precision, dimension(nel,21) xref,
double precision, dimension(mvsiz) xd1,
double precision, dimension(mvsiz) xd2,
double precision, dimension(mvsiz) xd3,
double precision, dimension(mvsiz) xd4,
double precision, dimension(mvsiz) xd5,
double precision, dimension(mvsiz) xd6,
double precision, dimension(mvsiz) xd7,
double precision, dimension(mvsiz) xd8,
double precision, dimension(mvsiz) yd1,
double precision, dimension(mvsiz) yd2,
double precision, dimension(mvsiz) yd3,
double precision, dimension(mvsiz) yd4,
double precision, dimension(mvsiz) yd5,
double precision, dimension(mvsiz) yd6,
double precision, dimension(mvsiz) yd7,
double precision, dimension(mvsiz) yd8,
double precision, dimension(mvsiz) zd1,
double precision, dimension(mvsiz) zd2,
double precision, dimension(mvsiz) zd3,
double precision, dimension(mvsiz) zd4,
double precision, dimension(mvsiz) zd5,
double precision, dimension(mvsiz) zd6,
double precision, dimension(mvsiz) zd7,
double precision, dimension(mvsiz) zd8,
double precision, dimension(3,3,mvsiz) r,
integer nel )

Definition at line 30 of file s8xref_imp.F.

38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C G l o b a l P a r a m e t e r s
44C-----------------------------------------------
45#include "mvsiz_p.inc"
46C-----------------------------------------------
47C C o m m o n B l o c k s
48C-----------------------------------------------
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER NEL
53C REAL
55 . offg(*)
56
57 DOUBLE PRECISION
58 . XD1(MVSIZ), XD2(MVSIZ), XD3(MVSIZ), XD4(MVSIZ),
59 . XD5(MVSIZ), XD6(MVSIZ), XD7(MVSIZ), XD8(MVSIZ),
60 . YD1(MVSIZ), YD2(MVSIZ), YD3(MVSIZ), YD4(MVSIZ),
61 . YD5(MVSIZ), YD6(MVSIZ), YD7(MVSIZ), YD8(MVSIZ),
62 . ZD1(MVSIZ), ZD2(MVSIZ), ZD3(MVSIZ), ZD4(MVSIZ),
63 . ZD5(MVSIZ), ZD6(MVSIZ), ZD7(MVSIZ), ZD8(MVSIZ),
64 . R(3,3,MVSIZ), XREF(NEL,21)
65C-----------------------------------------------
66C L o c a l V a r i a b l e s
67C-----------------------------------------------
68 INTEGER I
69 double precision
70 . u,v,w,ul,vl,wl
71C=======================================================================
72 DO i=1,nel
73 !IF(ABS(OFFG(I)) <= ONE )THEN !sb voir comment faire avec OFFG
74 u = xd2(i)-xd1(i)
75 v = yd2(i)-yd1(i)
76 w = zd2(i)-zd1(i)
77 ul = r(1,1,i)*u+r(2,1,i)*v+r(3,1,i)*w
78 vl = r(1,2,i)*u+r(2,2,i)*v+r(3,2,i)*w
79 wl = r(1,3,i)*u+r(2,3,i)*v+r(3,3,i)*w
80 xref(i,1) = ul
81 xref(i,2) = vl
82 xref(i,3) = wl
83
84 u = xd3(i)-xd1(i)
85 v = yd3(i)-yd1(i)
86 w = zd3(i)-zd1(i)
87 ul = r(1,1,i)*u+r(2,1,i)*v+r(3,1,i)*w
88 vl = r(1,2,i)*u+r(2,2,i)*v+r(3,2,i)*w
89 wl = r(1,3,i)*u+r(2,3,i)*v+r(3,3,i)*w
90 xref(i,4) = ul
91 xref(i,5) = vl
92 xref(i,6) = wl
93
94 u = xd4(i)-xd1(i)
95 v = yd4(i)-yd1(i)
96 w = zd4(i)-zd1(i)
97 ul = r(1,1,i)*u+r(2,1,i)*v+r(3,1,i)*w
98 vl = r(1,2,i)*u+r(2,2,i)*v+r(3,2,i)*w
99 wl = r(1,3,i)*u+r(2,3,i)*v+r(3,3,i)*w
100 xref(i,7) = ul
101 xref(i,8) = vl
102 xref(i,9) = wl
103
104 u = xd5(i)-xd1(i)
105 v = yd5(i)-yd1(i)
106 w = zd5(i)-zd1(i)
107 ul = r(1,1,i)*u+r(2,1,i)*v+r(3,1,i)*w
108 vl = r(1,2,i)*u+r(2,2,i)*v+r(3,2,i)*w
109 wl = r(1,3,i)*u+r(2,3,i)*v+r(3,3,i)*w
110 xref(i,10) = ul
111 xref(i,11) = vl
112 xref(i,12) = wl
113
114 u = xd6(i)-xd1(i)
115 v = yd6(i)-yd1(i)
116 w = zd6(i)-zd1(i)
117 ul = r(1,1,i)*u+r(2,1,i)*v+r(3,1,i)*w
118 vl = r(1,2,i)*u+r(2,2,i)*v+r(3,2,i)*w
119 wl = r(1,3,i)*u+r(2,3,i)*v+r(3,3,i)*w
120 xref(i,13) = ul
121 xref(i,14) = vl
122 xref(i,15) = wl
123
124 u = xd7(i)-xd1(i)
125 v = yd7(i)-yd1(i)
126 w = zd7(i)-zd1(i)
127 ul = r(1,1,i)*u+r(2,1,i)*v+r(3,1,i)*w
128 vl = r(1,2,i)*u+r(2,2,i)*v+r(3,2,i)*w
129 wl = r(1,3,i)*u+r(2,3,i)*v+r(3,3,i)*w
130 xref(i,16) = ul
131 xref(i,17) = vl
132 xref(i,18) = wl
133
134 u = xd8(i)-xd1(i)
135 v = yd8(i)-yd1(i)
136 w = zd8(i)-zd1(i)
137 ul = r(1,1,i)*u+r(2,1,i)*v+r(3,1,i)*w
138 vl = r(1,2,i)*u+r(2,2,i)*v+r(3,2,i)*w
139 wl = r(1,3,i)*u+r(2,3,i)*v+r(3,3,i)*w
140 xref(i,19) = ul
141 xref(i,20) = vl
142 xref(i,21) = wl
143
144 ENDDO
145C-----------
146 RETURN
#define my_real
Definition cppsort.cpp:32