ARTS 2.5.4 (git: 31ce4f0e)
igrf13.cc File Reference
#include <algorithm>
#include "arts_conversions.h"
#include "igrf13.h"
#include "legendre.h"

Go to the source code of this file.

Namespaces

namespace  IGRF
 International Geomagnetic Reference Field version 13.
 

Functions

Matrix IGRF::matrix (const std::array< Numeric, 196 > data)
 Create the square matrix from the static data. More...
 
Numeric IGRF::radius (const Numeric h, const Numeric lat, const Numeric lon, const Numeric a, const Numeric e) ARTS_NOEXCEPT
 Get the radius from ellipsoidal coordinates. More...
 
void IGRF::compute_impl (MagneticField &out, Vector &r, const Matrix &g, const Matrix &h, const Tensor3 &z_field, const Vector &lat_grid, const Vector &lon_grid, const Vector &ell, const Numeric scale) ARTS_NOEXCEPT
 Perform all computations on pre-allocated local data. More...
 
MagneticField IGRF::compute (const Tensor3 &z_field, const Vector &lat_grid, const Vector &lon_grid, const Time &time, const Vector &ell)
 Computes the magnetic field based on IGRF13 coefficients. More...
 

Variables

constexpr std::array< Numeric, 196 > IGRF::g2020
 g-coefficients for 2020 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::h2020
 h-coefficients for 2020 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::g2015
 g-coefficients for 2015 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::h2015
 h-coefficients for 2015 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::g2010
 g-coefficients for 2010 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::h2010
 h-coefficients for 2010 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::g2005
 g-coefficients for 2005 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::h2005
 h-coefficients for 2005 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::g2000
 g-coefficients for 2000 (14x14 matrix) More...
 
constexpr std::array< Numeric, 196 > IGRF::h2000
 h-coefficients for 2000 (14x14 matrix) More...
 
constexpr Numeric IGRF::r0 {6371.2e3}
 The reference radius in IGRF13. More...