Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ hour_angle()

double pism::surface::DEBMSimplePointwise::hour_angle ( double  phi,
double  latitude,
double  declination 
)
static

The hour angle (radians) at which the sun reaches the solar altitude angle phi

Implements equation 11 in Krebs-Kanzow et al solved for h_phi.

Equation 2 in Zeitz et al should be equivalent but misses "acos(...)".

The return value is in the range [0, pi].

Parameters
[in]phiangle (radians)
[in]latitudelatitude (radians)
[in]declinationsolar declination angle (radians)

Definition at line 85 of file DEBMSimplePointwise.cc.

References pism::clip(), and phi.

Referenced by insolation(), insolation_diagnostic(), and melt().