List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
fwk::MagneticFieldModel Class Reference

Get the magnetic field of the earth dependent on location and time. More...

#include <MagneticFieldModel.h>

Public Member Functions

ParametricGeoMagneticField ModelForTime (const utl::UTCDate &date)
 
ParametricGeoMagneticField ModelForTime (const utl::TimeStamp &time)
 
ParametricGeoMagneticField ModelForYear (double year)
 

Static Public Member Functions

static double GetDeclination (const utl::Point &position, const utl::TimeStamp &time)
 returns declination in radians More...
 
static double GetInclination (const utl::Point &position, const utl::TimeStamp &time)
 returns inclination in radians More...
 
static utl::Vector GetMagneticFieldVector (const utl::Point &position, const utl::TimeStamp &time)
 returns the magnetic field at a specific place at a specific time More...
 
static double GetStrength (const utl::Point &position, const utl::TimeStamp &time)
 returns field strength of magnetic field More...
 
static MagneticFieldModelinstance ()
 

Protected Member Functions

double decimalYear (int year, int month, int day)
 

Protected Attributes

ParametricGeoMagChangefChangeModel
 
std::vector
< ParametricGeoMagneticField
fModels
 

Private Member Functions

void Init ()
 
 MagneticFieldModel ()
 

Detailed Description

Get the magnetic field of the earth dependent on location and time.

Author
Christian Glaser

Definition at line 33 of file MagneticFieldModel.h.

Constructor & Destructor Documentation

fwk::MagneticFieldModel::MagneticFieldModel ( )
private

Definition at line 17 of file MagneticFieldModel.cc.

References Init().

Member Function Documentation

double fwk::MagneticFieldModel::decimalYear ( int  year,
int  month,
int  day 
)
protected

Definition at line 92 of file MagneticFieldModel.cc.

double fwk::MagneticFieldModel::GetDeclination ( const utl::Point position,
const utl::TimeStamp time 
)
static
double fwk::MagneticFieldModel::GetInclination ( const utl::Point position,
const utl::TimeStamp time 
)
static

returns inclination in radians

Definition at line 75 of file MagneticFieldModel.cc.

References fwk::LocalCoordinateSystemConstructor< Policy >::Create(), and utl::degree.

utl::Vector fwk::MagneticFieldModel::GetMagneticFieldVector ( const utl::Point position,
const utl::TimeStamp time 
)
static
static double fwk::MagneticFieldModel::GetStrength ( const utl::Point position,
const utl::TimeStamp time 
)
inlinestatic

returns field strength of magnetic field

Definition at line 51 of file MagneticFieldModel.h.

References utl::Vector::GetMag(), and GetMagneticFieldVector().

void fwk::MagneticFieldModel::Init ( void  )
private
fwk::MagneticFieldModel & fwk::MagneticFieldModel::instance ( )
static
fwk::ParametricGeoMagneticField fwk::MagneticFieldModel::ModelForTime ( const utl::UTCDate date)
ParametricGeoMagneticField fwk::MagneticFieldModel::ModelForTime ( const utl::TimeStamp time)
inline

Definition at line 58 of file MagneticFieldModel.h.

References ModelForTime().

fwk::ParametricGeoMagneticField fwk::MagneticFieldModel::ModelForYear ( double  year)

Member Data Documentation

ParametricGeoMagChange* fwk::MagneticFieldModel::fChangeModel
protected

Definition at line 70 of file MagneticFieldModel.h.

std::vector<ParametricGeoMagneticField> fwk::MagneticFieldModel::fModels
protected

Definition at line 69 of file MagneticFieldModel.h.


The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.