#include "implicit_f.inc"
Go to the source code of this file.
◆ euler_vrot()
| subroutine euler_vrot |
( |
| x0, |
|
|
| x, |
|
|
| rot ) |
Definition at line 34 of file euler_vrot.F.
35
36
37
38#include "implicit_f.inc"
39
40
41
42
44 . x0(3),x(3), rot(9)
45
46
47
48
50 . rx, ry, rz
51
52 rx = x(1) - x0(1)
53 ry = x(2) - x0(2)
54 rz = x(3) - x0(3)
55
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
59
60 RETURN