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

Go to the source code of this file.

Functions/Subroutines

subroutine r23_114_coor3 (x, v, ixr, xdp, x3dp, nc3, vx3, vy3, vz3, nel)

Function/Subroutine Documentation

◆ r23_114_coor3()

subroutine r23_114_coor3 ( x,
v,
integer, dimension(nixr,*) ixr,
double precision, dimension(3,*) xdp,
double precision, dimension(3,*) x3dp,
integer, dimension(*) nc3,
vx3,
vy3,
vz3,
integer, intent(in) nel )

Definition at line 30 of file r23_114_coor3.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,*),NC3(*)
48 my_real x(3,*),v(3,*),vx3(*),vy3(*),vz3(*)
49 DOUBLE PRECISION XDP(3,*),X3DP(3,*)
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I
54C-----------------------------------------------
55 DO i=1,nel
56C-- to prevent NC3 to be zero fo seatblet outside slipring
57 IF (ixr(4,i) > 0) THEN
58 nc3(i)=ixr(4,i)
59 ELSE
60 nc3(i)=ixr(2,i)
61 ENDIF
62 ENDDO
63C----------------------------
64C COORDONNEES NOEUD ADDITIONEL
65C----------------------------
66 IF (iresp == 1) THEN
67 DO i=1,nel
68 x3dp(1,i)=xdp(1,nc3(i))
69 x3dp(2,i)=xdp(2,nc3(i))
70 x3dp(3,i)=xdp(3,nc3(i))
71 ENDDO
72 ELSE
73 DO i=1,nel
74 x3dp(1,i)=x(1,nc3(i))
75 x3dp(2,i)=x(2,nc3(i))
76 x3dp(3,i)=x(3,nc3(i))
77 ENDDO
78 ENDIF
79C
80 DO i=1,nel
81 vx3(i)=v(1,nc3(i))
82 vy3(i)=v(2,nc3(i))
83 vz3(i)=v(3,nc3(i))
84 ENDDO
85C---
86 RETURN
#define my_real
Definition cppsort.cpp:32