velocity_transform Function

public pure function velocity_transform(omega, v, x) result(rst)

Computes the velocity transformation matrix relating the position of a point expressed in a rotating and translating body relative to its parent frame.

The transformation matrix takes the following form.

where,

Given a vector describing the location on a moving body, , the matrix is used to report its velocity .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: omega(3)

The angular velocity vector.

real(kind=real64), intent(in) :: v(3)

The translation velocity vector describing the velocity of the body in its parent coordinate frame.

real(kind=real64), intent(in) :: x(3)

The position vector of the body in its parent coordinate frame.

Return Value real(kind=real64), (4,4)

The 4-by-4 transformation matrix.


Contents