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

Go to the source code of this file.

Functions/Subroutines

subroutine r3coor3 (x, vr, ixr, xdp, x1dp, x2dp, x3dp, ngl, mgn, nc1, nc2, nc3, nel)

Function/Subroutine Documentation

◆ r3coor3()

subroutine r3coor3 ( x,
vr,
integer, dimension(nixr,*) ixr,
double precision, dimension(3,*) xdp,
double precision, dimension(3,*) x1dp,
double precision, dimension(3,*) x2dp,
double precision, dimension(3,*) x3dp,
integer, dimension(*) ngl,
integer, dimension(*) mgn,
integer, dimension(*) nc1,
integer, dimension(*) nc2,
integer, dimension(*) nc3,
integer, intent(in) nel )

Definition at line 30 of file r3coor3.F.

35 use element_mod , only : nixr
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "scr05_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER, INTENT(IN) :: NEL
48 INTEGER IXR(NIXR,*),NGL(*),MGN(*),NC1(*),NC2(*),NC3(*)
49C REAL
51 . x(3,*), vr(3,*)
52 DOUBLE PRECISION XDP(3,*),
53 . X1DP(3,*),X2DP(3,*),X3DP(3,*)
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 INTEGER I
58C-----------------------------------------------
59 DO i=1,nel
60 ngl(i)=ixr(nixr,i)
61 nc1(i)=ixr(2,i)
62 nc2(i)=ixr(3,i)
63 nc3(i)=ixr(4,i)
64 mgn(i)=ixr(1,i)
65 ENDDO
66C----------------------------
67C COORDONNEES+ROTATIONS
68C----------------------------
69 IF (iresp == 1) THEN
70 DO i=1,nel
71 x1dp(1,i)=xdp(1,nc1(i))
72 x1dp(2,i)=xdp(2,nc1(i))
73 x1dp(3,i)=xdp(3,nc1(i))
74 x2dp(1,i)=xdp(1,nc2(i))
75 x2dp(2,i)=xdp(2,nc2(i))
76 x2dp(3,i)=xdp(3,nc2(i))
77 x3dp(1,i)=xdp(1,nc3(i))
78 x3dp(2,i)=xdp(2,nc3(i))
79 x3dp(3,i)=xdp(3,nc3(i))
80 END DO
81 ELSE
82 DO i=1,nel
83 x1dp(1,i)=x(1,nc1(i))
84 x1dp(2,i)=x(2,nc1(i))
85 x1dp(3,i)=x(3,nc1(i))
86 x2dp(1,i)=x(1,nc2(i))
87 x2dp(2,i)=x(2,nc2(i))
88 x2dp(3,i)=x(3,nc2(i))
89 x3dp(1,i)=x(1,nc3(i))
90 x3dp(2,i)=x(2,nc3(i))
91 x3dp(3,i)=x(3,nc3(i))
92 ENDDO
93 ENDIF
94C---
95 RETURN
#define my_real
Definition cppsort.cpp:32