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

Go to the source code of this file.

Functions/Subroutines

subroutine euler_vrot (x0, x, rot)

Function/Subroutine Documentation

◆ euler_vrot()

subroutine euler_vrot ( x0,
x,
rot )

Definition at line 34 of file euler_vrot.F.

35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42C REAL
44 . x0(3),x(3), rot(9)
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48C REAL
50 . rx, ry, rz
51C=======================================================================
52 rx = x(1) - x0(1)
53 ry = x(2) - x0(2)
54 rz = x(3) - x0(3)
55C
56 x(1) = x0(1) + rot(1)*rx + rot(4)*ry + rot(7)*rz
57 x(2) = x0(2) + rot(2)*rx + rot(5)*ry + rot(8)*rz
58 x(3) = x0(3) + rot(3)*rx + rot(6)*ry + rot(9)*rz
59C---
60 RETURN
#define my_real
Definition cppsort.cpp:32