MemoryTest.cpp File Reference

#include "Matrix.h"
#include "Rotation.h"
#include "Attitude.h"
#include "Orbit.h"
#include "CombinedNumericPropagator.h"
#include "RungeKuttaFehlbergIntegrator.h"
#include "orbitmodels/TwoBodyDynamics.h"
#include "CentralBody/EarthCentralBody.h"
#include "OrbitState.h"
#include "AttitudeState.h"
#include "orbitstaterep/PositionVelocity.h"
#include "orbitframes/OrbitFrameIJK.h"
#include "Plot.h"
#include <string>
#include <stdlib.h>
#include <sstream>

Go to the source code of this file.

Functions

void SetupPropagator ()
 Sets up a combined numeric propagator, RK4(5) integrator and tolerances.

void SetupEnvironment ()
void SetupOrbit ()
 Creates an initial orbit read in from a file.

void SetupAttitude ()
 Creates an initial attitude read in from a file.

void ChangePropagator ()
void ChangeEnvironment ()
void ChangeOrbit ()
void ChangeOrbitIntegrator ()
void ChangeAttitude ()
void ChangeAttitudeIntegrator ()
void Propagate ()
void Plot ()
void myOrbitStateConvFunc (const Matrix &_meshPoint, OrbitState &_convertedOrbitState)
void myAttitudeStateConvFunc (const Matrix &_meshPoint, AttitudeState &_convertedAttitudeState)
void DisplayOrbit ()
void DisplayAttitude ()
void DisplayPropagator ()
int main ()
Vector GravityForceFunction (const ssfTime &_currentTime, const OrbitState &_currentOrbitState, const AttitudeState &_currentAttitudeState, const EnvFuncParamaterType &_parameterList)
Vector DragForceFunction (const ssfTime &_currentTime, const OrbitState &_currentOrbitState, const AttitudeState &_currentAttitudeState, const EnvFuncParamaterType &_parameterList)
Vector AttituteDynamics (const ssfTime &_time, const Vector &_integratingState, Orbit *_Orbit, Attitude *_Attitude, const Matrix &_parameters, const Functor &_forceFunctorPtr)
 Dynamic and Kinematic attitude equations using quaternion and angular velocities.


Variables

Orbit * myOrbit = NULL
Attitude * myAttitude = NULL
Environment * myEnvironment = NULL
CombinedNumericPropagator * myPropagator = NULL
RungeKuttaFehlbergIntegrator * orbitIntegrator = NULL
RungeKuttaFehlbergIntegrator * attitudeIntegrator = NULL
vector< ssfTime > propTimes


Function Documentation

void SetupPropagator  ) 
 

Sets up a combined numeric propagator, RK4(5) integrator and tolerances.

Definition at line 137 of file HokieSatSimulation.cpp.

Environment * SetupEnvironment  ) 
 

Definition at line 186 of file MemoryTest.cpp.

void SetupOrbit  ) 
 

Creates an initial orbit read in from a file.

Definition at line 159 of file HokieSatSimulation.cpp.

void SetupAttitude  ) 
 

Creates an initial attitude read in from a file.

Definition at line 188 of file HokieSatSimulation.cpp.

void ChangePropagator  ) 
 

Definition at line 227 of file MemoryTest.cpp.

void ChangeEnvironment  ) 
 

Definition at line 195 of file MemoryTest.cpp.

void ChangeOrbit  ) 
 

Definition at line 260 of file MemoryTest.cpp.

void ChangeOrbitIntegrator  ) 
 

void ChangeAttitude  ) 
 

Definition at line 331 of file MemoryTest.cpp.

void ChangeAttitudeIntegrator  ) 
 

void Propagate  ) 
 

Definition at line 139 of file MemoryTest.cpp.

void Plot  ) 
 

Definition at line 120 of file MemoryTest.cpp.

void myOrbitStateConvFunc const Matrix _meshPoint,
OrbitState &  _convertedOrbitState
 

Examples:
testPropagation.cpp.

Definition at line 252 of file MemoryTest.cpp.

void myAttitudeStateConvFunc const Matrix _meshPoint,
AttitudeState &  _convertedAttitudeState
 

Examples:
testPropagation.cpp.

Definition at line 297 of file MemoryTest.cpp.

void DisplayOrbit  ) 
 

Definition at line 56 of file MemoryTest.cpp.

void DisplayAttitude  ) 
 

Definition at line 65 of file MemoryTest.cpp.

void DisplayPropagator  ) 
 

Definition at line 73 of file MemoryTest.cpp.

int main  ) 
 

Definition at line 82 of file MemoryTest.cpp.

Vector DragForceFunction const ssfTime &  _currentTime,
const OrbitState &  _currentOrbitState,
const AttitudeState &  _currentAttitudeState,
const EnvFuncParamaterType &  _parameterList
 

Examples:
testEnvironment.cpp, and testPropagation.cpp.

Definition at line 175 of file MemoryTest.cpp.

Vector AttituteDynamics const ssfTime &  _time,
const Vector _integratingState,
Orbit *  _pOrbit,
Attitude *  _pAttitude,
const Matrix _parameters,
const Functor &  _forceFunctorPtr
[static]
 

Dynamic and Kinematic attitude equations using quaternion and angular velocities.

Definition at line 304 of file MemoryTest.cpp.


Variable Documentation

Orbit* myOrbit = NULL [static]
 

Definition at line 30 of file MemoryTest.cpp.

Attitude* myAttitude = NULL [static]
 

Definition at line 31 of file MemoryTest.cpp.

Environment* myEnvironment = NULL [static]
 

Definition at line 32 of file MemoryTest.cpp.

CombinedNumericPropagator* myPropagator = NULL [static]
 

Definition at line 33 of file MemoryTest.cpp.

RungeKuttaFehlbergIntegrator* orbitIntegrator = NULL [static]
 

Definition at line 34 of file MemoryTest.cpp.

RungeKuttaFehlbergIntegrator* attitudeIntegrator = NULL [static]
 

Definition at line 35 of file MemoryTest.cpp.

vector<ssfTime> propTimes [static]
 

Definition at line 36 of file MemoryTest.cpp.


Generated on Wed Aug 6 12:58:56 2003 for Open-Sessame Framework by doxygen1.3