PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ hour_angle()

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

The hour angle (radians) at which the sun reaches the solar 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 86 of file DEBMSimplePointwise.cc.

References pism::clip(), and phi.

Referenced by pism::surface::DEBMSimplePointwise::insolation(), insolation(), and pism::surface::DEBMSimplePointwise::melt().