Changed declaration of DeepSecular()
parent
581aa9ac26
commit
a8b25f89c5
18
SGDP4.cpp
18
SGDP4.cpp
|
@ -275,7 +275,9 @@ void SGDP4::FindPositionSDP4(double tsince) {
|
||||||
double xinc = Inclination();
|
double xinc = Inclination();
|
||||||
double xn = RecoveredMeanMotion();
|
double xn = RecoveredMeanMotion();
|
||||||
#if 0
|
#if 0
|
||||||
DeepSecular(xmdf, omgadf, xnode, em, xinc, xn, tsince);
|
DeepSecular(tsince, xll, omgasm,
|
||||||
|
xnodes, em, xinc, xn);
|
||||||
|
//DeepSecular(xmdf, omgadf, xnode, em, xinc, xn, tsince);
|
||||||
|
|
||||||
a = pow(constants_.XKE / xn, constants_.TWOTHRD) * pow(tempa, 2.0);
|
a = pow(constants_.XKE / xn, constants_.TWOTHRD) * pow(tempa, 2.0);
|
||||||
xn = constants_.XKE / pow(a, 1.5);
|
xn = constants_.XKE / pow(a, 1.5);
|
||||||
|
@ -1002,19 +1004,9 @@ void SGDP4::DeepPeriodics(const double& t, double& em,
|
||||||
* deep space secular effects
|
* deep space secular effects
|
||||||
ENTRY DPSEC(XLL,OMGASM,XNODES,EM,XINC,XN,T)
|
ENTRY DPSEC(XLL,OMGASM,XNODES,EM,XINC,XN,T)
|
||||||
*/
|
*/
|
||||||
void SGDP4::DeepSecular() {
|
void SGDP4::DeepSecular(const double& t, double& xll, double& omgasm,
|
||||||
|
double& xnodes, double& em, double& xinc, double& xn) {
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
|
||||||
* passed in
|
|
||||||
*/
|
|
||||||
double xll;
|
|
||||||
double omgasm;
|
|
||||||
double xnodes;
|
|
||||||
double em;
|
|
||||||
double xinc;
|
|
||||||
double xn;
|
|
||||||
double t;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
double xldot = 0.0;
|
double xldot = 0.0;
|
||||||
|
|
3
SGDP4.h
3
SGDP4.h
|
@ -25,7 +25,8 @@ private:
|
||||||
const double& xmdot, const double& omgdot, const double& xnodot);
|
const double& xmdot, const double& omgdot, const double& xnodot);
|
||||||
void DeepPeriodics(const double& t, double& em, double& xinc,
|
void DeepPeriodics(const double& t, double& em, double& xinc,
|
||||||
double& omgasm, double& xnodes, double& xll);
|
double& omgasm, double& xnodes, double& xll);
|
||||||
void DeepSecular();
|
void DeepSecular(const double& t, double& xll, double& omgasm,
|
||||||
|
double& xnodes, double& em, double& xinc, double& xn);
|
||||||
void FindPositionSDP4(double tsince);
|
void FindPositionSDP4(double tsince);
|
||||||
void FindPositionSGP4(double tsince);
|
void FindPositionSGP4(double tsince);
|
||||||
void CalculateFinalPositionVelocity(const double& tsince, const double& e,
|
void CalculateFinalPositionVelocity(const double& tsince, const double& e,
|
||||||
|
|
Loading…
Reference in New Issue