|
subroutine | setem (c, d, e, g, r) |
| Given the 4 components of a unit quaternion, return the associated 3*3 rotation matrix.
|
|
Definition at line 100 of file pmat4.f90.
◆ setem()
subroutine pmat4::setem::setem |
( |
real(dp), intent(in) | c, |
|
|
real(dp), intent(in) | d, |
|
|
real(dp), intent(in) | e, |
|
|
real(dp), intent(in) | g, |
|
|
real(dp), dimension(3,3), intent(out) | r ) |
Given the 4 components of a unit quaternion, return the associated 3*3 rotation matrix.
- Parameters
-
[in] | c | 0th component of given quaternion |
[in] | d | 1st component of given quaternion |
[in] | e | 2nd component of given quaternion |
[in] | g | 3rd component of given quaternion |
[out] | r | output 3*3 real rotation matrix |
- Author
- R. J. Purser
Definition at line 1689 of file pmat4.f90.
The documentation for this interface was generated from the following file:
- /scratch4/NCEPDEV/nems/Brian.Curtis/git/BrianCurtis-NOAA/UFS_UTILS/v1_14_0/sorc/grid_tools.fd/regional_esg_grid.fd/pmat4.f90