grid_tools  1.13.0
pmat4::sarea Interface Reference

Private Member Functions

real(dp) function dqarea_d (rlat, drlata, drlona, drlatb, drlonb, drlatc, drlonc)
 Compute the area of the spherical quadrilateral with a vertex at latitude rlat, and three other vertices at A, B, and C in turn, whose incremented latitudes and longitudes are drlata,drlona (for A), drlatb,drlonb (for B), and drlatc,drlonc (for C). More...
 
real(sp) function dqarea_s (rlat, drlata, drlona, drlatb, drlonb, drlatc, drlonc)
 Compute the area of the spherical quadrilateral with a vertex at latitude rlat, and three other vertices at A, B, and C in turn, whose incremented latitudes and longitudes are drlata,drlona (for A), drlatb,drlonb (for B), and drlatc,drlonc (for C). More...
 
real(dp) function dtarea_d (rlat, drlata, drlona, drlatb, drlonb)
 Compute the area of the spherical triangle with a vertex at latitude rlat, and two other vertices, A and B, whose incremented latitudes and longitudes are drlata,drlona (for A) and drlatb,drlonb (for B). More...
 
real(sp) function dtarea_s (rlat, drlata, drlona, drlatb, drlonb)
 Compute the area of the spherical triangle with a vertex at latitude rlat, and two other vertices, A and B, whose incremented latitudes and longitudes are drlata,drlona (for A) and drlatb,drlonb (for B). More...
 
real(dp) function sarea_d (v1, v2, v3)
 Compute the area of the spherical triangle, {v1,v2,v3}. More...
 
real(sp) function sarea_s (v1, v2, v3)
 Compute the area of the spherical triangle, {v1,v2,v3}, measured in the right-handed sense, by dropping a perpendicular to u0 on the longest side so that the area becomes the sum of areas of the two simpler right-angled triangles. More...
 

Detailed Description

Definition at line 81 of file pmat4.f90.

Member Function/Subroutine Documentation

◆ dqarea_d()

real(dp) function pmat4::sarea::dqarea_d ( real(dp), intent(in)  rlat,
real(dp), intent(in)  drlata,
real(dp), intent(in)  drlona,
real(dp), intent(in)  drlatb,
real(dp), intent(in)  drlonb,
real(dp), intent(in)  drlatc,
real(dp), intent(in)  drlonc 
)
private

Compute the area of the spherical quadrilateral with a vertex at latitude rlat, and three other vertices at A, B, and C in turn, whose incremented latitudes and longitudes are drlata,drlona (for A), drlatb,drlonb (for B), and drlatc,drlonc (for C).

The computations are designed to give a proportionately accurate area estimate even when the quadrilateral is very small, provided the diagonal making the B-increment is not disproportionately small compared to the characteristic size of the quadrilateral. Double precision version.

Parameters
[in]rlatlatitude of reference point
[in]drlataincremental latitude of point A
[in]drlonaincremental longitude of point A
[in]drlatbincremental latitude of point B
[in]drlonbincremental longitude of point B
[in]drlatcincremental latitude of point C
[in]drloncincremental longitude of point C
Returns
area
Author
R. J. Purser

Definition at line 898 of file pmat4.f90.

◆ dqarea_s()

real(sp) function pmat4::sarea::dqarea_s ( real(sp), intent(in)  rlat,
real(sp), intent(in)  drlata,
real(sp), intent(in)  drlona,
real(sp), intent(in)  drlatb,
real(sp), intent(in)  drlonb,
real(sp), intent(in)  drlatc,
real(sp), intent(in)  drlonc 
)
private

Compute the area of the spherical quadrilateral with a vertex at latitude rlat, and three other vertices at A, B, and C in turn, whose incremented latitudes and longitudes are drlata,drlona (for A), drlatb,drlonb (for B), and drlatc,drlonc (for C).

The computations are designed to give a proportionately accurate area estimate even when the quadrilateral is very small, provided the diagonal making the B-increment is not disproportionately small compared to the characteristic size of the quadrilateral. Single precision version.

Parameters
[in]rlatlatitude of reference point
[in]drlataincremental latitude of point A
[in]drlonaincremental longitude of point A
[in]drlatbincremental latitude of point B
[in]drlonbincremental longitude of point B
[in]drlatcincremental latitude of point C
[in]drloncincremental longitude of point C
Returns
area result
Author
R. J. Purser

Definition at line 869 of file pmat4.f90.

◆ dtarea_d()

real(dp) function pmat4::sarea::dtarea_d ( real(dp), intent(in)  rlat,
real(dp), intent(in)  drlata,
real(dp), intent(in)  drlona,
real(dp), intent(in)  drlatb,
real(dp), intent(in)  drlonb 
)
private

Compute the area of the spherical triangle with a vertex at latitude rlat, and two other vertices, A and B, whose incremented latitudes and longitudes are drlata,drlona (for A) and drlatb,drlonb (for B).

The computations are designed to give a proportionately accurate area estimate even when the triangle is very small, provided the B-increment is not disproportionately small compared to the other two sides. Double precision version.

Parameters
[in]rlatlatitude of reference point
[in]drlataincremental latitude of A
[in]drlonaincremental longitude of A
[in]drlatbincremental latitude of B
[in]drlonbincremental longitude of B
Returns
area result
Author
R. J. Purser

Definition at line 825 of file pmat4.f90.

◆ dtarea_s()

real(sp) function pmat4::sarea::dtarea_s ( real(sp), intent(in)  rlat,
real(sp), intent(in)  drlata,
real(sp), intent(in)  drlona,
real(sp), intent(in)  drlatb,
real(sp), intent(in)  drlonb 
)
private

Compute the area of the spherical triangle with a vertex at latitude rlat, and two other vertices, A and B, whose incremented latitudes and longitudes are drlata,drlona (for A) and drlatb,drlonb (for B).

The computations are designed to give a proportionately accurate area estimate even when the triangle is very small, provided the B-increment is not disproportionately small compared to the other two sides. Single precision version.

Parameters
[in]rlatlatitude of reference point
[in]drlataincremental latitude of A
[in]drlonaincremental longitude of A
[in]drlatbincremental latitude of B
[in]drlonbincremental longitude of B
Returns
area result
Author
R. J. Purser

Definition at line 786 of file pmat4.f90.

◆ sarea_d()

real(dp) function pmat4::sarea::sarea_d ( real(dp), dimension(3), intent(in)  v1,
real(dp), dimension(3), intent(in)  v2,
real(dp), dimension(3), intent(in)  v3 
)
private

Compute the area of the spherical triangle, {v1,v2,v3}.

Parameters
[in]v1unit-3-vector vertex of the spherical triangle
[in]v2unit-3-vector vertex of the spherical triangle
[in]v3unit-3-vector vertex of the spherical triangle
Returns
area result
Author
R. J. Purser

Definition at line 723 of file pmat4.f90.

◆ sarea_s()

real(sp) function pmat4::sarea::sarea_s ( real(sp), dimension(3), intent(in)  v1,
real(sp), dimension(3), intent(in)  v2,
real(sp), dimension(3), intent(in)  v3 
)
private

Compute the area of the spherical triangle, {v1,v2,v3}, measured in the right-handed sense, by dropping a perpendicular to u0 on the longest side so that the area becomes the sum of areas of the two simpler right-angled triangles.

Parameters
[in]v1area of the spherical triangle
[in]v2area of the spherical triangle
[in]v3area of the spherical triangle
Returns
area result
Author
R. J. Purser

Definition at line 668 of file pmat4.f90.


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