grid_tools  1.13.0
pmat5::frametwist Interface Reference

Private Member Functions

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. More...
 
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. More...
 

Detailed Description

Definition at line 46 of file pmat5.f90.

Constructor & Destructor Documentation

◆ 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 
)
private

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]xpP-frame cartesian X-vector.
[in]ypP-frame cartesian Y-vector.
[in]zpP-frame cartesian Z-vector.
[in]xvV-frame cartesian X-vector.
[in]yvV-frame cartesian Y-vector.
[in]zvV-frame cartesian Z-vector.
[out]twistrelative rotation angle (radians) of frames.
Author
R. J. Purser

Definition at line 778 of file pmat5.f90.

Member Function/Subroutine Documentation

◆ 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 
)
private

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]sxpP-frame cartesian X-vector.
[in]sypP-frame cartesian Y-vector.
[in]szpP-frame cartesian Z-vector.
[in]sxvV-frame cartesian X-vector.
[in]syvV-frame cartesian Y-vector.
[in]szvV-frame cartesian Z-vector.
[out]stwistrelative rotation angle (radians) of frames.
Author
R. J. Purser

Definition at line 751 of file pmat5.f90.


The documentation for this interface was generated from the following file: