Ginan
Loading...
Searching...
No Matches
acceleration.hpp File Reference

Data Structures

struct  Legendre
 

Functions

Vector3d accelSourcePoint (const Vector3d observer, const Vector3d origin, const double GM, Matrix3d *dAdPos_ptr=nullptr)
 Source point acceleration from a planet acting on a satellite.
 
Vector3d accelCentralForce (const Vector3d observer, const double GM, Matrix3d *dAdPos_ptr=nullptr)
 Central force acceleration.
 
Vector3d accelSPH (const Vector3d r, const MatrixXd C, const MatrixXd S, const int n, const double GM)
 Compute the acceleration of due to a spherical harmonic field acting on the satellite.
 
Vector3d accelJ2 (const double C20, const Matrix3d eci2ecf, Vector3d bodyPos, double GM)
 "The indirect J2 effect".
 

Function Documentation

◆ accelCentralForce()

Vector3d accelCentralForce ( const Vector3d observer,
const double GM,
Matrix3d * dAdPos_ptr = nullptr )

Central force acceleration.

Parameters
observerposition of the oberserver
GMvalue of GM of the acting force
dAdPos_ptrOptional pointer to differential matrix
Here is the caller graph for this function:

◆ accelJ2()

Vector3d accelJ2 ( const double C20,
const Matrix3d eci2ecf,
Vector3d bodyPos,
double GM )

"The indirect J2 effect".

ref: GOCE standards GO-TN-HPF-GS-0111

Parameters
C20Value of the C20
eci2ecfRotation inertial to terestrila
bodyPosPosition of the planets
GMValue of GM constant of the body in question
Here is the caller graph for this function:

◆ accelSourcePoint()

Vector3d accelSourcePoint ( const Vector3d observer,
const Vector3d origin,
const double GM,
Matrix3d * dAdPos_ptr = nullptr )

Source point acceleration from a planet acting on a satellite.

Parameters
observerVector posiiong of the satellite w.r.t to the orbiting body
originVector position of the planet w.r.t to the orbiting body
GMConstant GM of the acting body
dAdPos_ptrOptional pointer to differential matrix
Here is the call graph for this function:
Here is the caller graph for this function:

◆ accelSPH()

Vector3d accelSPH ( const Vector3d r,
const MatrixXd C,
const MatrixXd S,
const int maxDeg,
const double GM )

Compute the acceleration of due to a spherical harmonic field acting on the satellite.

Note
This function does not contain the degree 0 acceleration need to be done via "accelCentralForce"

(Re/R)**n : we start from deg 2 this formulation works.

Parameters
rVector of the position of the satelite (ECEF)
CMatrix of the "C" spherical harmonic coefficient
SMatrix of the "S" spherical harmonic coefficient
maxDegMaximum degree use for the summation of the harmonics //todo aaron, limit this to max found in file/struct
GMValue of GM constant of the body in question.
Here is the call graph for this function:
Here is the caller graph for this function: