public pure subroutine mean_longitudes(dnum, s_deg, h_deg, p_deg, n_deg)
Mean longitudes at day number dnum (Schureman polynomials).
Returned in DEGREES, folded to [0,360). T = dnum/36525 (Julian
centuries, Schureman’s 36525-day century). Multiply by
TIDE_DEG2RAD to get radians for the equilibrium arguments.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
real(kind=wp),
private
::
t
Source Code
pure subroutine mean_longitudes(dnum,s_deg,h_deg,p_deg,n_deg)!! Mean longitudes at day number `dnum` (Schureman polynomials).!! Returned in DEGREES, folded to [0,360). T = dnum/36525 (Julian!! centuries, Schureman's 36525-day century). Multiply by!! TIDE_DEG2RAD to get radians for the equilibrium arguments.real(wp),intent(in)::dnumreal(wp),intent(out)::s_deg,h_deg,p_deg,n_degreal(wp)::tt=dnum/36525.0_wps_deg=wrap360(277.0248_wp+481267.8906_wp*t+0.0011_wp*t**2)h_deg=wrap360(280.1895_wp+36000.7689_wp*t+3.0310e-4_wp*t**2)p_deg=wrap360(334.3853_wp+4069.0340_wp*t-0.0103_wp*t**2)n_deg=wrap360(259.1568_wp-1934.142_wp*t+0.0021_wp*t**2)end subroutine mean_longitudes