1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Sun: physical constants, analytical ephemeris, and IAU rotation model.
//!
//! # Submodules
//!
//! - [`ephemeris`] — Meeus analytical sun ephemeris + Equation of Time
//! - [`rotation`] — IAU 2009 WGCCRE rotation model (`SUN` const)
//!
//! The ephemeris/rotation submodules are kept private; all public items
//! are re-exported explicitly below so that new `pub` items added inside
//! `ephemeris.rs` do NOT automatically leak into `arika::sun::*`.
pub use ;
pub use SUN;
// ─── Physical constants ──────────────────────────────────────────
/// Sun gravitational parameter [km³/s²].
pub const MU: f64 = 132712440018.0;
/// One astronomical unit in kilometres.
pub const AU_KM: f64 = 149_597_870.7;