Place the z axis vector (as move_x_axis; OpenFrames' moveZAxis).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | base(3) |
(base: frame's coordinates) |
||
| real(kind=wp), | intent(in) | :: | length |
(base: frame's coordinates) |
||
| real(kind=wp), | intent(in), | optional | :: | head_ratio |
defaults: 0.3; 0.05 and 0.1 of the length |
|
| real(kind=wp), | intent(in), | optional | :: | body_radius |
defaults: 0.3; 0.05 and 0.1 of the length |
|
| real(kind=wp), | intent(in), | optional | :: | head_radius |
defaults: 0.3; 0.05 and 0.1 of the length |
subroutine move_z_axis(self, base, length, head_ratio, body_radius, head_radius) class(ReferenceFrame), intent(inout) :: self real(wp), intent(in) :: base(3), length !! (base: frame's coordinates) real(wp), intent(in), optional :: head_ratio, body_radius, head_radius !! defaults: 0.3; 0.05 and 0.1 of the length call move_axis(self, 3, base, length, head_ratio, body_radius, head_radius) end subroutine move_z_axis