grid_tools 1.14.0
Loading...
Searching...
No Matches
pfun::hav Interface Reference

Public Member Functions

real(dp) function hav_d (t)
 Haversine function for double precision real (for geometry on the sphere).
 
real(sp) function hav_s (t)
 Haversine function for single precision real (for geometry on the sphere).
 

Detailed Description

Definition at line 21 of file pfun.f90.

Member Function/Subroutine Documentation

◆ hav_d()

real(dp) function pfun::hav::hav_d ( real(dp), intent(in) t)

Haversine function for double precision real (for geometry on the sphere).

Parameters
[in]tdouble precision real argument
Returns
a haversine function of t
Author
R. J. Purser

Definition at line 102 of file pfun.f90.

References pietc::o2, and pietc::t.

◆ hav_s()

real(sp) function pfun::hav::hav_s ( real(sp), intent(in) t)

Haversine function for single precision real (for geometry on the sphere).

Parameters
[in]tsingle precision real argument
Returns
a haversine function of t
Author
R. J. Purser

Definition at line 89 of file pfun.f90.


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