Module: magneticFieldCenteredDipole

Evaluate a centered dipole magnetic field model about a planet for a range of spacecraft locations. For more information on this module see this PDF Description.


class MagneticFieldCenteredDipole : public MagneticFieldBase

Public Functions

MagneticFieldCenteredDipole()

The constructor method initializes the dipole parameters to zero, resuling in a zero magnetic field result by default.

Return

void

~MagneticFieldCenteredDipole()

Empty destructor method.

Return

void

Public Members

double g10

[T] IGRF coefficient g_1^0

double g11

[T] IGRF coefficient g_1^1

double h11

[T] IGRF coefficient h_1^1

BSKLogger bskLogger

BSK Logging

Private Functions

void evaluateMagneticFieldModel(MagneticFieldSimMsg *msg, double currentTime)

This method is evaluates the centered dipole magnetic field model.

Return

void

Parameters
  • msg: magnetic field message structure