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 MinTime() const
#define GEOGRAPHICLIB_EXPORT
const std::string & MagneticModelName() const
Math::real Flattening() const
Math::real MajorRadius() const
void operator()(real t, real lat, real lon, real h, real &Bx, real &By, real &Bz, real &Bxt, real &Byt, real &Bzt) const
Math::real MaxHeight() const
std::vector< std::vector< real > > _G
Math::real MaxTime() const
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.
const std::string & MagneticFile() const
static void FieldComponents(real Bx, real By, real Bz, real &H, real &F, real &D, real &I)
const std::string & Description() const
static const Geocentric & WGS84()
Namespace for GeographicLib.
Math::real Flattening() const
void operator()(real t, real lat, real lon, real h, real &Bx, real &By, real &Bz) const
Math::real MajorRadius() const
Header for GeographicLib::Geocentric class.
string::const_iterator It
std::vector< SphericalHarmonic > _harm
Header for GeographicLib::SphericalHarmonic class.
Header for GeographicLib::Constants class.
const std::string & DateTime() const
Math::real MinHeight() const
Annotation for function names.
const std::string & MagneticModelDirectory() const
std::vector< std::vector< real > > _H
SphericalHarmonic::normalization _norm