Module: exponentialAtmosphere

Evaluate an exponential atmosphere model at a given height above a planetary surface. For more information on this module see this PDF Description.


class ExponentialAtmosphere : public AtmosphereBase

Public Functions

ExponentialAtmosphere()

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

Return

void

~ExponentialAtmosphere()

Empty destructor method.

Return

void

Public Members

double baseDensity

[kg/m^3] Density at h=0

double scaleHeight

[m] Exponential characteristic height

double localTemp = 293.0

[K] Local atmospheric temperature; set to be constant.

BSKLogger bskLogger

BSK Logging

Private Functions

void evaluateAtmosphereModel(AtmoPropsSimMsg *msg, double currentTime)

This method is evaluates the centered dipole magnetic field model.

Return

void

Parameters
  • msg: magnetic field message structure