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

Go to the source code of this file.

Functions/Subroutines

subroutine s10rcoor12 (off, x, xdp, nc, r11, r12, r13, r21, r22, r23, r31, r32, r33, nel)

Function/Subroutine Documentation

◆ s10rcoor12()

subroutine s10rcoor12 ( off,
x,
double precision, dimension(3,*) xdp,
integer, dimension(mvsiz,10) nc,
r11,
r12,
r13,
r21,
r22,
r23,
r31,
r32,
r33,
integer, intent(in) nel )

Definition at line 30 of file s10rcoor12.F.

35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C G l o b a l P a r a m e t e r s
41C-----------------------------------------------
42#include "mvsiz_p.inc"
43C-----------------------------------------------
44C C o m m o n B l o c k s
45C-----------------------------------------------
46#include "scr05_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER, INTENT(IN) :: NEL
51 INTEGER NC(MVSIZ,10)
52
53 double precision
54 . xdp(3,*)
55C REAL
57 . r11(mvsiz),r12(mvsiz),r13(mvsiz),
58 . r21(mvsiz),r22(mvsiz),r23(mvsiz),
59 . r31(mvsiz),r32(mvsiz),r33(mvsiz),off(*),
60 . x(3,*)
61 DOUBLE PRECISION
62 . XX(MVSIZ,4), YY(MVSIZ,4), ZZ(MVSIZ,4)
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66 INTEGER I,N ,NN
67C REAL
69 . rx(mvsiz) , ry(mvsiz) , rz(mvsiz) ,
70 . sx(mvsiz) , sy(mvsiz) , sz(mvsiz) ,
71 . tx(mvsiz) , ty(mvsiz) , tz(mvsiz)
72C=======================================================================
73 DO n=1,4
74 DO i=1,nel
75 nn = nc(i,n)
76 IF(iresp==1)THEN
77 xx(i,n)=xdp(1,nn)
78 yy(i,n)=xdp(2,nn)
79 zz(i,n)=xdp(3,nn)
80 ELSE
81 xx(i,n)=x(1,nn)
82 yy(i,n)=x(2,nn)
83 zz(i,n)=x(3,nn)
84 ENDIF
85 END DO
86 END DO
87C-----------
88C REPERE CONVECTE (ITERATIONS).
89C-----------
90 DO i=1,nel
91 IF (off(i) <= one ) cycle
92 rx(i) = xx(i,1) - xx(i,4)
93 ry(i) = yy(i,1) - yy(i,4)
94 rz(i) = zz(i,1) - zz(i,4)
95 sx(i) = xx(i,2) - xx(i,4)
96 sy(i) = yy(i,2) - yy(i,4)
97 sz(i) = zz(i,2) - zz(i,4)
98 tx(i) = xx(i,3) - xx(i,4)
99 ty(i) = yy(i,3) - yy(i,4)
100 tz(i) = zz(i,3) - zz(i,4)
101 END DO
102 CALL smortho3(
103 1 off, rx, ry, rz,
104 2 sx, sy, sz, tx,
105 3 ty, tz, r11, r12,
106 4 r13, r21, r22, r23,
107 5 r31, r32, r33, nel)
108C-----------
109 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine smortho3(off, rx, ry, rz, sx, sy, sz, tx, ty, tz, e1x, e2x, e3x, e1y, e2y, e3y, e1z, e2z, e3z, nel)
Definition smortho3.F:35