Changed declaration of DeepSecular()

feature/19
Daniel Warner 2011-03-30 01:04:20 +01:00
parent 581aa9ac26
commit a8b25f89c5
2 changed files with 7 additions and 14 deletions

View File

@ -275,7 +275,9 @@ void SGDP4::FindPositionSDP4(double tsince) {
double xinc = Inclination();
double xn = RecoveredMeanMotion();
#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);
xn = constants_.XKE / pow(a, 1.5);
@ -1002,19 +1004,9 @@ void SGDP4::DeepPeriodics(const double& t, double& em,
* deep space secular effects
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
/*
* passed in
*/
double xll;
double omgasm;
double xnodes;
double em;
double xinc;
double xn;
double t;
double xldot = 0.0;

View File

@ -25,7 +25,8 @@ private:
const double& xmdot, const double& omgdot, const double& xnodot);
void DeepPeriodics(const double& t, double& em, double& xinc,
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 FindPositionSGP4(double tsince);
void CalculateFinalPositionVelocity(const double& tsince, const double& e,