Skip to content

Commit

Permalink
Update to rotation matrix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDavies19 authored and andrew-platt committed Jul 10, 2024
1 parent 698754d commit aa1ad90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/nwtc-library/src/NWTC_Num.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1687,8 +1687,8 @@ FUNCTION EqualRealNos8 ( ReNum1, ReNum2 )

END FUNCTION EqualRealNos8
!=======================================================================
!> This function creates a rotation matrix, M, from a 1-2-3 rotation
!! sequence of the 3 Euler angles, \f$\theta_x\f$, \f$\theta_y\f$, and \f$\theta_z\f$, in radians.
!> This function creates a rotation matrix, M, from a 3-2-1 intrinsic rotation
!! sequence of the 3 Tait-Bryan angles (1-2-3 extrinsic rotation), \f$\theta_x\f$, \f$\theta_y\f$, and \f$\theta_z\f$, in radians.
!! M represents a change of basis (from global to local coordinates;
!! not a physical rotation of the body). It is the inverse of EulerExtract (nwtc_num::eulerextract).
!!
Expand Down Expand Up @@ -1752,8 +1752,8 @@ END FUNCTION EulerConstructR4
!> \copydoc nwtc_num::eulerconstructr4
FUNCTION EulerConstructR8(theta) result(M)

! this function creates a rotation matrix, M, from a 1-2-3 rotation
! sequence of the 3 Euler angles, theta_x, theta_y, and theta_z, in radians.
! this function creates a rotation matrix, M, from a 3-2-1 intrinsic rotation
!! sequence of the 3 Tait-Bryan angles (1-2-3 extrinsic rotation), theta_x, theta_y, and theta_z, in radians.
! M represents a change of basis (from global to local coordinates;
! not a physical rotation of the body). it is the inverse of EulerExtract (nwtc_num::eulerextract).
!
Expand Down

0 comments on commit aa1ad90

Please sign in to comment.