|
subroutine | frametwist (xp, yp, zp, xv, yv, zv, twist) |
| Given a principal cartesian orthonormal frame, {xp,yp,zp} (i.e., at P with Earth-centered cartesians, zp), and another similar frame {xv,yv,zv} at V with Earth-centered cartesians zv, find the relative rotation angle, "twist" by which the frame at V is rotated in the counterclockwise sense relative to the parallel-transportation of P's frame to V.
|
|
subroutine | sframetwist (sxp, syp, szp, sxv, syv, szv, stwist) |
| Given a principal cartesian orthonormal frame, {xp,yp,zp} (i.e., at P with Earth-centered cartesians, zp), and another similar frame {xv,yv,zv} at V with Earth-centered cartesians zv, find the relative rotation angle, "twist" by which the frame at V is rotated in the counterclockwise sense relative to the parallel-transportation of P's frame to V.
|
|
Definition at line 46 of file pmat5.f90.
◆ frametwist()
subroutine pmat5::frametwist::frametwist |
( |
real(dp), dimension(3), intent(in) | xp, |
|
|
real(dp), dimension(3), intent(in) | yp, |
|
|
real(dp), dimension(3), intent(in) | zp, |
|
|
real(dp), dimension(3), intent(in) | xv, |
|
|
real(dp), dimension(3), intent(in) | yv, |
|
|
real(dp), dimension(3), intent(in) | zv, |
|
|
real(dp), intent(out) | twist ) |
Given a principal cartesian orthonormal frame, {xp,yp,zp} (i.e., at P with Earth-centered cartesians, zp), and another similar frame {xv,yv,zv} at V with Earth-centered cartesians zv, find the relative rotation angle, "twist" by which the frame at V is rotated in the counterclockwise sense relative to the parallel-transportation of P's frame to V.
Note that, by symmetry, transposing P and V leads to the opposite twist. Double precision version.
- Parameters
-
[in] | xp | P-frame cartesian X-vector. |
[in] | yp | P-frame cartesian Y-vector. |
[in] | zp | P-frame cartesian Z-vector. |
[in] | xv | V-frame cartesian X-vector. |
[in] | yv | V-frame cartesian Y-vector. |
[in] | zv | V-frame cartesian Z-vector. |
[out] | twist | relative rotation angle (radians) of frames. |
- Author
- R. J. Purser
Definition at line 777 of file pmat5.f90.
◆ sframetwist()
subroutine pmat5::frametwist::sframetwist |
( |
real(sp), dimension(3), intent(in) | sxp, |
|
|
real(sp), dimension(3), intent(in) | syp, |
|
|
real(sp), dimension(3), intent(in) | szp, |
|
|
real(sp), dimension(3), intent(in) | sxv, |
|
|
real(sp), dimension(3), intent(in) | syv, |
|
|
real(sp), dimension(3), intent(in) | szv, |
|
|
real(sp), intent(out) | stwist ) |
Given a principal cartesian orthonormal frame, {xp,yp,zp} (i.e., at P with Earth-centered cartesians, zp), and another similar frame {xv,yv,zv} at V with Earth-centered cartesians zv, find the relative rotation angle, "twist" by which the frame at V is rotated in the counterclockwise sense relative to the parallel-transportation of P's frame to V.
Note that, by symmetry, transposing P and V leads to the opposite twist. Single precision version.
- Parameters
-
[in] | sxp | P-frame cartesian X-vector. |
[in] | syp | P-frame cartesian Y-vector. |
[in] | szp | P-frame cartesian Z-vector. |
[in] | sxv | V-frame cartesian X-vector. |
[in] | syv | V-frame cartesian Y-vector. |
[in] | szv | V-frame cartesian Z-vector. |
[out] | stwist | relative rotation angle (radians) of frames. |
- Author
- R. J. Purser
Definition at line 750 of file pmat5.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/pmat5.f90