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

TwoBodyDynamics.h File Reference


Detailed Description

Dynamic equations and forces of two-body motion.

Author:
Author
jayhawk_hokie
Version:
Revision
1.2
Date:
Date
2005/06/10 12:53:28

Definition in file TwoBodyDynamics.h.

#include <matrix/Matrix.h>
#include <utils/Integrator.h>
#include <utils/Time.h>
#include <orbit/Orbit.h>
#include <orbit/OrbitState.h>
#include <attitude/Attitude.h>
#include <vector.h>

Include dependency graph for TwoBodyDynamics.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

void PositionVelocityConvFunc (const Matrix &_meshPoint, OrbitState &_convertedOrbitState)
 Orbit state conversion function from Position and Velocity state vector. TwoBodyDynamics.
Vector TwoBodyDynamics (const ssfTime &_time, const Vector &_integratingState, Orbit *_pOrbit, Attitude *_pAttitude, const Matrix &_parameters, const Functor &_forceFunctorPtr)
 Orbit equation of motion using position and velocity.


Function Documentation

void PositionVelocityConvFunc const Matrix _meshPoint,
OrbitState _convertedOrbitState
[static]
 

Orbit state conversion function from Position and Velocity state vector. TwoBodyDynamics.

This function converts a matrix of states from the TwoBodyDynamics right-hand side function into an OrbitState object. This conversion function is necessary for propagators to store to an OrbitHistory object regardless of the equations of motion state vector being used.

Parameters:
_meshPoint State vector from integration mesh point, [Position (3), Velocity (3)].
_convertedOrbitState OrbitState object that is converted from the mesh point vector. This function just sets the position and velocity state representation and requires the user to set the corresponding reference frame.

Definition at line 36 of file TwoBodyDynamics.h.

References _, O_SESSAME::OrbitState::GetStateRepresentation(), O_SESSAME::Matrix, O_SESSAME::MatrixColsIndex, O_SESSAME::MatrixIndexBase, O_SESSAME::OrbitStateRepresentation::SetPositionVelocity(), and O_SESSAME::Vector.


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