Module: exponentialAtmosphere

Executive Summary

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

The module is a sub-class of the Module: atmosphereBase base class. See that class for the nominal messages used and general instructions.


class ExponentialAtmosphere : public AtmosphereBase
#include <exponentialAtmosphere.h>

exponential atmosphere model

Public Functions

ExponentialAtmosphere()

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

Returns

void

~ExponentialAtmosphere()

Empty destructor method.

Returns

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

&#8212; BSK Logging

Private Functions

void evaluateAtmosphereModel(AtmoPropsMsgPayload *msg, double currentTime)

This method is evaluates the centered dipole magnetic field model.

Parameters
  • msg – magnetic field message structure

  • currentTime – current time (s)

Returns

void