grid_tools 1.14.0
|
Public 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). | |
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). | |
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). | |
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). | |
real(dp) function | sarea_d (v1, v2, v3) |
Compute the area of the spherical triangle, {v1,v2,v3}. | |
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. | |
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 ) |
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.
[in] | rlat | latitude of reference point |
[in] | drlata | incremental latitude of point A |
[in] | drlona | incremental longitude of point A |
[in] | drlatb | incremental latitude of point B |
[in] | drlonb | incremental longitude of point B |
[in] | drlatc | incremental latitude of point C |
[in] | drlonc | incremental longitude of point C |
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 ) |
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.
[in] | rlat | latitude of reference point |
[in] | drlata | incremental latitude of point A |
[in] | drlona | incremental longitude of point A |
[in] | drlatb | incremental latitude of point B |
[in] | drlonb | incremental longitude of point B |
[in] | drlatc | incremental latitude of point C |
[in] | drlonc | incremental longitude of point C |
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 ) |
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.
[in] | rlat | latitude of reference point |
[in] | drlata | incremental latitude of A |
[in] | drlona | incremental longitude of A |
[in] | drlatb | incremental latitude of B |
[in] | drlonb | incremental longitude of B |
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 ) |
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.
[in] | rlat | latitude of reference point |
[in] | drlata | incremental latitude of A |
[in] | drlona | incremental longitude of A |
[in] | drlatb | incremental latitude of B |
[in] | drlonb | incremental longitude of B |
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 ) |
Compute the area of the spherical triangle, {v1,v2,v3}.
[in] | v1 | unit-3-vector vertex of the spherical triangle |
[in] | v2 | unit-3-vector vertex of the spherical triangle |
[in] | v3 | unit-3-vector vertex of the spherical triangle |
Definition at line 722 of file pmat4.f90.
References cyclic(), pietc::u0, pietc::u1, pietc::u2, and pietc::u3.
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 ) |
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.
[in] | v1 | area of the spherical triangle |
[in] | v2 | area of the spherical triangle |
[in] | v3 | area of the spherical triangle |
Definition at line 667 of file pmat4.f90.
References cyclic().