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

Go to the source code of this file.

Functions/Subroutines

subroutine r1coor3 (x, vr, ixr, xdp, x1dp, x2dp, ngl, mgm, nc1, nc2, nel)

Function/Subroutine Documentation

◆ r1coor3()

subroutine r1coor3 ( x,
vr,
integer, dimension(nixr,*) ixr,
double precision, dimension(3,*) xdp,
double precision, dimension(3,*) x1dp,
double precision, dimension(3,*) x2dp,
integer, dimension(*) ngl,
integer, dimension(*) mgm,
integer, dimension(*) nc1,
integer, dimension(*) nc2,
integer, intent(in) nel )

Definition at line 30 of file r1coor3.F.

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