|
subroutine | setem (c, d, e, g, r) |
| Given the 4 components of a unit quaternion, return the associated 3*3 rotation matrix. More...
|
|
Definition at line 100 of file pmat4.f90.
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 |
|
) |
| |
|
private |
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 |
[in] | 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:
- /scratch1/NCEPDEV/da/George.Gayno/ufs_utils.git/UFS_UTILS.upstream/sorc/grid_tools.fd/regional_esg_grid.fd/pmat4.f90