dcm_rotmat Subroutine

public subroutine dcm_rotmat(dcm, rotmat)

Returns the rotation matrix corresponding to a direction cosine matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(in), dimension(3,3) :: dcm

Direction cosine matrix.

real(kind=rp), intent(out), dimension(3,3) :: rotmat

Rotation matrix.