#include "implicit_f.inc"
#include "scr14_c.inc"
Go to the source code of this file.
|
| subroutine | r2tors (forx, fory, forz, xmom, ymom, zmom, tani, h3d_data, nel) |
◆ 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.
35
36
37
39
40
41
42#include "implicit_f.inc"
43
44
45
46 INTEGER, INTENT(IN) :: NEL
47
49 . forx(*),fory(*),forz(*),xmom(*),
50 . ymom(*),zmom(*),tani(15,*)
51 TYPE(H3D_DATABASE) :: H3D_DATA
52
53
54
55#include "scr14_c.inc"
56
57
58
59 INTEGER I
60
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