igrf13#

namespace saltro
namespace constants
namespace IGRF13#

Variables

constexpr int NMAX = 13#

Maximum degree of spherical harmonic expansion (IGRF-13).

The IGRF-13 magnetic field model uses Gauss coefficients up to degree and order \(n = m = 13\), providing high accuracy for global field representation across all altitudes.

const double G[NMAX + 1][NMAX + 1]#

Gauss coefficients (cosine terms) for IGRF-13 model.

Tabulated Gauss coefficients \(g_n^m\) representing the cosine components of the spherical harmonic expansion of Earth’s magnetic field. Array is dimensioned as \((N_{\max}+1) \times (N_{\max}+1)\).

const double H[NMAX + 1][NMAX + 1]#

Gauss coefficients (sine terms) for IGRF-13 model.

Tabulated Gauss coefficients \(h_n^m\) representing the sine components of the spherical harmonic expansion. Array is dimensioned as \((N_{\max}+1) \times (N_{\max}+1)\).

constexpr double EARTH_REFERENCE_RADIUS = 6371200.0#

Earth reference radius for IGRF coefficients.

Defined as \(6\,371\,200\) meters. Gauss coefficients are normalized with respect to this radius.