igrf8#

namespace saltro
namespace constants
namespace IGRF8#

Variables

constexpr int NMAX = 8#

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

The IGRF-8 magnetic field model uses Gauss coefficients up to degree and order \(n = m = 8\), providing moderate accuracy for mid- to low-altitude applications.

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

Gauss coefficients (cosine terms) for IGRF-8 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-8 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.