10 #if !defined(GEOGRAPHICLIB_MAGNETICMODEL_HPP) 11 #define GEOGRAPHICLIB_MAGNETICMODEL_HPP 1 19 # pragma warning (push) 20 # pragma warning (disable: 4251) 72 static const int idlength_ = 8;
73 std::string
_name, _dir, _description, _date, _filename, _id;
74 real _t0, _dt0,
_tmin, _tmax, _a, _hmin, _hmax;
78 std::vector< std::vector<real> >
_G;
79 std::vector< std::vector<real> >
_H;
80 std::vector<SphericalHarmonic>
_harm;
81 void Field(real
t, real
lat, real
lon, real
h,
bool diffp,
82 real& Bx, real& By, real& Bz,
83 real& Bxt, real& Byt, real& Bzt)
const;
84 void ReadMetadata(
const std::string&
name);
120 const std::string&
path =
"",
141 real& Bx, real& By, real& Bz)
const {
143 Field(t, lat, lon, h,
false, Bx, By, Bz, dummy, dummy, dummy);
164 real& Bx, real& By, real& Bz,
165 real& Bxt, real& Byt, real& Bzt)
const {
166 Field(t, lat, lon, h,
true, Bx, By, Bz, Bxt, Byt, Bzt);
203 real&
H, real&
F, real&
D, real&
I) {
206 H, F, D, I, Ht, Ft, Dt, It);
230 static void FieldComponents(real Bx, real By, real Bz,
231 real Bxt, real Byt, real Bzt,
232 real&
H, real&
F, real&
D, real&
I,
233 real& Ht, real& Ft, real& Dt, real& It);
249 const std::string&
DateTime()
const {
return _date; }
335 static std::string DefaultMagneticPath();
346 static std::string DefaultMagneticName();
351 #if defined(_MSC_VER) 352 # pragma warning (pop) 355 #endif // GEOGRAPHICLIB_MAGNETICMODEL_HPP Math::real MaxTime() const
Math::real MinHeight() const
#define GEOGRAPHICLIB_EXPORT
const std::string & Description() const
Math::real MajorRadius() const
std::vector< std::vector< real > > _G
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange [*:*] noreverse nowriteback set trange [*:*] noreverse nowriteback set urange [*:*] noreverse nowriteback set vrange [*:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
Model of the earth's magnetic field.
Geomagnetic field on a circle of latitude.
static void FieldComponents(real Bx, real By, real Bz, real &H, real &F, real &D, real &I)
void operator()(real t, real lat, real lon, real h, real &Bx, real &By, real &Bz, real &Bxt, real &Byt, real &Bzt) const
const std::string & MagneticModelDirectory() const
void operator()(real t, real lat, real lon, real h, real &Bx, real &By, real &Bz) const
static const Geocentric & WGS84()
Namespace for GeographicLib.
const std::string & MagneticModelName() const
Header for GeographicLib::Geocentric class.
Math::real Flattening() const
Math::real Flattening() const
std::vector< SphericalHarmonic > _harm
Header for GeographicLib::SphericalHarmonic class.
Math::real MaxHeight() const
Header for GeographicLib::Constants class.
const std::string & MagneticFile() const
Math::real MinTime() const
Math::real MajorRadius() const
Annotation for function names.
const std::string & DateTime() const
std::vector< std::vector< real > > _H
SphericalHarmonic::normalization _norm