1 #ifndef _fwk_ParametricGeoMagneticField_h_
2 #define _fwk_ParametricGeoMagneticField_h_
4 #include <utl/SVector.h>
6 #include <utl/Vector.h>
45 std::valarray<double>
fG;
46 std::valarray<double>
fH;
54 void Grow(
const size_t order);
Rate-of-change model for spherical harmonics parametrisation of geomagnetic field.
ParametricGeoMagneticField Interpolate(const double year, const ParametricGeoMagneticField &later) const
Interpolate between two models Given a time as decimal year, interpolate coefficients between this an...
double GetBaseYear() const
std::valarray< double > fG
void Grow(const size_t order)
Spherical harmonics parametrisation of geomagnetic field.
static ParametricGeoMagneticField IGRF2010()
Named constructor for 2010 IGRF model This is meant for testing. Coefficients should rather be read f...
double GetDeclination(const utl::Point &where) const
utl::SVector< 3, double > GetXYZ(const double latitude, const double longitude, const double elevation) const
Get magnetic field components from geocentric(!) coordinates Given the position relative to the earth...
utl::Vector Get(const utl::Point &where) const
std::valarray< double > fH
ParametricGeoMagneticField(const double baseyear, const size_t order, const double g[], const double h[])