acceleration_transform Function

public pure function acceleration_transform(alpha, omega, a, x) result(rst)

Computes the acceleration 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,

and,

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

Arguments

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

The angular acceleration vector.

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

The angular velocity vector.

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

The translational acceleration vector describing the acceleration 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