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

Go to the source code of this file.

Functions/Subroutines

subroutine r2tors (forx, fory, forz, xmom, ymom, zmom, tani, h3d_data, nel)

Function/Subroutine Documentation

◆ r2tors()

subroutine r2tors ( forx,
fory,
forz,
xmom,
ymom,
zmom,
tani,
type(h3d_database) h3d_data,
integer, intent(in) nel )

Definition at line 31 of file r2tors.F.

35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 USE h3d_mod
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER, INTENT(IN) :: NEL
47C REAL
49 . forx(*),fory(*),forz(*),xmom(*),
50 . ymom(*),zmom(*),tani(15,*)
51 TYPE(H3D_DATABASE) :: H3D_DATA
52C-----------------------------------------------
53C C o m m o n B l o c k s
54C-----------------------------------------------
55#include "scr14_c.inc"
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I
60C-----------------------------------------------
61 IF (anim_ft(1) /= 0 .OR. h3d_data%UND_FORC /= 0) THEN
62 DO i=1,nel
63 tani(1,i)= forx(i)
64 tani(2,i)= fory(i)
65 tani(3,i)= forz(i)
66 tani(4,i)= xmom(i)
67 tani(5,i)= ymom(i)
68 tani(6,i)= zmom(i)
69 tani(7,i)= -xmom(i)
70 tani(8,i)= -ymom(i)
71 tani(9,i)= -zmom(i)
72 ENDDO
73 ENDIF
74!
75 RETURN
#define my_real
Definition cppsort.cpp:32