Spacecraft Models Package 2.0
Spacecraft Models for DSim
Public Member Functions | Protected Attributes | List of all members
magnetic_field Class Reference

Magnetic field using Earth dipole model. More...

#include <magnetic_field.h>

Inherits dsim_model.

Public Member Functions

 magnetic_field (dsim_model_setup *setup)
 Constructor.
 
bool parse_setup (char *command, char *data)
 Parse setup data.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void initialization_complete ()
 Finish initialization.
 
void post_calculate ()
 Computation done after numerical integration.
 

Protected Attributes

dsim_variable parent_position_dsim
 Parent position.
 
dsim_variable parent_quaternion_dsim
 Parent quaternion.
 
dsim_variable field_dsim
 Magnetic field variable (T) output.
 
dsim_variable tempUseDipole_dsim
 Flag for using Earth dipole or planetary coefficients.
 
dsim_variable tempNMax_dsim
 Parameter for maximum number of field terms used.
 

Detailed Description

Magnetic field using Earth dipole model.

This object uses the parent spacecraft's position to determine the applicable planetary magnetic field.


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