10 #if !defined(GEOGRAPHICLIB_MAGNETICCIRCLE_HPP)
11 #define GEOGRAPHICLIB_MAGNETICCIRCLE_HPP 1
41 real _a, _f, _lat, _h, _t, _cphi, _sphi, _t1, _dt0;
42 bool _interpolate, _constterm;
46 real cphi, real sphi, real t1, real dt0,
58 , _interpolate(interpolate)
65 real cphi, real sphi, real t1, real dt0,
78 , _interpolate(interpolate)
85 void Field(real lon,
bool diffp,
86 real& Bx, real& By, real& Bz,
87 real& Bxt, real& Byt, real& Bzt)
const;
114 void operator()(real lon, real& Bx, real& By, real& Bz)
const {
116 Field(lon,
false, Bx, By, Bz, dummy, dummy, dummy);
134 real& Bxt, real& Byt, real& Bzt)
const {
135 Field(lon,
true, Bx, By, Bz, Bxt, Byt, Bzt);
145 bool Init()
const {
return _a > 0; }
179 Math::real MajorRadius()
const {
return EquatorialRadius(); }
185 #endif // GEOGRAPHICLIB_MAGNETICCIRCLE_HPP