SABER
tools_func::sphere_dist Interface Reference

Public Member Functions

subroutine func_sphere_dist (lon_i, lat_i, lon_f, lat_f, dist)
 Compute the great-circle distance between two points. More...
 

Detailed Description

Definition at line 82 of file tools_func.F90.

Member Function/Subroutine Documentation

◆ func_sphere_dist()

subroutine tools_func::sphere_dist::func_sphere_dist ( real(kind_real), intent(in)  lon_i,
real(kind_real), intent(in)  lat_i,
real(kind_real), intent(in)  lon_f,
real(kind_real), intent(in)  lat_f,
real(kind_real), intent(out)  dist 
)

Compute the great-circle distance between two points.

Parameters
[in]lon_iInitial point longitude [radians]
[in]lat_iInitial point latitude [radians]
[in]lon_fFinal point longitude [radians]
[in]lat_fFinal point latitude [radians]
[out]distGreat-circle distance

Definition at line 581 of file tools_func.F90.


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