Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

testOrbitIntegration.cpp File Reference


Detailed Description

Example of orbit integration using Open-Sessame.

Author:
Author
cakinli
Version:
Revision
1.1.1.1
Date:
Date
2005/04/26 17:41:00

Definition in file testOrbitIntegration.cpp.

#include "orbitmodels/TwoBodyDynamics.h"
#include "Matrix.h"
#include "RungeKuttaFehlbergIntegrator.h"
#include "OrbitState.h"
#include "Plot.h"
#include "orbitframes/OrbitFrameIJK.h"
#include "orbitstaterep/PositionVelocity.h"
#include "LinearInterpolator.h"
#include <vector.h>

Include dependency graph for testOrbitIntegration.cpp:

Include dependency graph

Go to the source code of this file.

Functions

Vector OrbitForcesFunctor (const ssfTime &_pSSFTime, const OrbitState &_pOrbitState, const AttitudeState &_pAttitudeState)
 Force function that will be called each timestep.
Vector OrbitForcesWithDragFunctor (const ssfTime &_pSSFTime, const OrbitState &_pOrbitState, const AttitudeState &_pAttitudeState)
int main ()


Function Documentation

int main  ) 
 

Definition at line 48 of file testOrbitIntegration.cpp.

References _, O_SESSAME::OrbitHistory::AppendHistory(), O_SESSAME::OrbitStateRepresentation::GetPositionVelocity(), O_SESSAME::ssfTime::GetSeconds(), O_SESSAME::OrbitHistory::GetState(), O_SESSAME::OrbitState::GetStateRepresentation(), O_SESSAME::RungeKuttaFehlbergIntegrator::Integrate(), O_SESSAME::Matrix, O_SESSAME::MatrixIndexBase, OrbitForcesFunctor(), OrbitForcesWithDragFunctor(), O_SESSAME::Plot3D(), O_SESSAME::History::SetInterpolator(), O_SESSAME::OrbitState::SetOrbitFrame(), O_SESSAME::OrbitStateRepresentation::SetPositionVelocity(), O_SESSAME::OrbitState::SetStateRepresentation(), O_SESSAME::tick(), O_SESSAME::Vector, and O_SESSAME::VectorIndexBase.

Vector OrbitForcesFunctor const ssfTime _pSSFTime,
const OrbitState _pOrbitState,
const AttitudeState _pAttitudeState
 

Force function that will be called each timestep.

Definition at line 26 of file testOrbitIntegration.cpp.

References _, O_SESSAME::OrbitStateRepresentation::GetPositionVelocity(), O_SESSAME::OrbitState::GetStateRepresentation(), O_SESSAME::norm2(), O_SESSAME::Vector, and O_SESSAME::VectorIndexBase.

Referenced by main().

Vector OrbitForcesWithDragFunctor const ssfTime _pSSFTime,
const OrbitState _pOrbitState,
const AttitudeState _pAttitudeState
 

Definition at line 34 of file testOrbitIntegration.cpp.

References _, O_SESSAME::OrbitStateRepresentation::GetPositionVelocity(), O_SESSAME::OrbitState::GetStateRepresentation(), O_SESSAME::norm2(), O_SESSAME::Vector, and O_SESSAME::VectorIndexBase.

Referenced by main().


Generated on Wed Sep 5 12:54:35 2007 for DSACSS Operational Code by  doxygen 1.3.9.1