Geomagnetic field on a circle of latitude. More...
#include <MagneticCircle.hpp>
Public Member Functions | |
MagneticCircle () | |
Compute the magnetic field | |
void | operator() (real lon, real &Bx, real &By, real &Bz) const |
void | operator() (real lon, real &Bx, real &By, real &Bz, real &Bxt, real &Byt, real &Bzt) const |
Inspector functions | |
bool | Init () const |
Math::real | MajorRadius () const |
Math::real | Flattening () const |
Math::real | Latitude () const |
Math::real | Height () const |
Math::real | Time () const |
Private Types | |
typedef Math::real | real |
Private Member Functions | |
void | Field (real lon, bool diffp, real &Bx, real &By, real &Bz, real &Bxt, real &Byt, real &Bzt) const |
MagneticCircle (real a, real f, real lat, real h, real t, real cphi, real sphi, real t1, real dt0, bool interpolate, const CircularEngine &circ0, const CircularEngine &circ1) | |
MagneticCircle (real a, real f, real lat, real h, real t, real cphi, real sphi, real t1, real dt0, bool interpolate, const CircularEngine &circ0, const CircularEngine &circ1, const CircularEngine &circ2) | |
Private Attributes | |
real | _a |
CircularEngine | _circ0 |
CircularEngine | _circ1 |
CircularEngine | _circ2 |
bool | _constterm |
real | _cphi |
real | _dt0 |
real | _f |
real | _h |
bool | _interpolate |
real | _lat |
real | _sphi |
real | _t |
real | _t1 |
Friends | |
class | MagneticModel |
Geomagnetic field on a circle of latitude.
Evaluate the earth's magnetic field on a circle of constant height and latitude. This uses a CircularEngine to pre-evaluate the inner sum of the spherical harmonic sum, allowing the values of the field at several different longitudes to be evaluated rapidly.
Use MagneticModel::Circle to create a MagneticCircle object. (The constructor for this class is private.)
Example of use:
MagneticField is a command-line utility providing access to the functionality of MagneticModel and MagneticCircle.
Definition at line 37 of file MagneticCircle.hpp.
|
private |
Definition at line 39 of file MagneticCircle.hpp.
|
inlineprivate |
Definition at line 45 of file MagneticCircle.hpp.
|
inlineprivate |
Definition at line 64 of file MagneticCircle.hpp.
|
inline |
A default constructor for the normal gravity. This sets up an uninitialized object which can be later replaced by the MagneticModel::Circle.
Definition at line 98 of file MagneticCircle.hpp.
|
private |
Definition at line 19 of file src/MagneticCircle.cpp.
|
inline |
Definition at line 157 of file MagneticCircle.hpp.
|
inline |
Definition at line 167 of file MagneticCircle.hpp.
|
inline |
Definition at line 145 of file MagneticCircle.hpp.
|
inline |
Definition at line 162 of file MagneticCircle.hpp.
|
inline |
Definition at line 151 of file MagneticCircle.hpp.
|
inline |
Evaluate the components of the geomagnetic field at a particular longitude.
[in] | lon | longitude of the point (degrees). |
[out] | Bx | the easterly component of the magnetic field (nanotesla). |
[out] | By | the northerly component of the magnetic field (nanotesla). |
[out] | Bz | the vertical (up) component of the magnetic field (nanotesla). |
Definition at line 114 of file MagneticCircle.hpp.
|
inline |
Evaluate the components of the geomagnetic field and their time derivatives at a particular longitude.
[in] | lon | longitude of the point (degrees). |
[out] | Bx | the easterly component of the magnetic field (nanotesla). |
[out] | By | the northerly component of the magnetic field (nanotesla). |
[out] | Bz | the vertical (up) component of the magnetic field (nanotesla). |
[out] | Bxt | the rate of change of Bx (nT/yr). |
[out] | Byt | the rate of change of By (nT/yr). |
[out] | Bzt | the rate of change of Bz (nT/yr). |
Definition at line 133 of file MagneticCircle.hpp.
|
inline |
Definition at line 172 of file MagneticCircle.hpp.
|
friend |
Definition at line 89 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 43 of file MagneticCircle.hpp.
|
private |
Definition at line 43 of file MagneticCircle.hpp.
|
private |
Definition at line 43 of file MagneticCircle.hpp.
|
private |
Definition at line 42 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 42 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.
|
private |
Definition at line 41 of file MagneticCircle.hpp.