From e395c6d8ae2a7c497d49beb97ab05ba60083b4b5 Mon Sep 17 00:00:00 2001 From: Daniel Warner Date: Tue, 29 Mar 2011 23:15:57 +0100 Subject: [PATCH] Removed integrator steps being global --- SGDP4.cpp | 7 ++++--- SGDP4.h | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/SGDP4.cpp b/SGDP4.cpp index ab2c24e..85b0eb1 100644 --- a/SGDP4.cpp +++ b/SGDP4.cpp @@ -855,9 +855,6 @@ void SGDP4::DeepSpaceInitialize(const double& eosq, const double& sinio, const d d_xli_ = d_xlamo_; d_xni_ = RecoveredMeanMotion(); d_atime_ = 0.0; - d_stepp_ = 720.0; - d_stepn_ = -720.0; - d_step2_ = 259200.0; } } @@ -983,6 +980,10 @@ void SGDP4::DeepSecular() { em = Eccentricity() + d_sse_ * t; xinc = Inclination() + d_ssi_ * t; + double stepp = 720.0; + double stepn = -720.0; + double step2 = 259200.0; + /* * check if needed */ diff --git a/SGDP4.h b/SGDP4.h index 1119e0c..f11e9df 100644 --- a/SGDP4.h +++ b/SGDP4.h @@ -260,9 +260,6 @@ private: double d_xli_; double d_xni_; double d_atime_; - double d_stepp_; - double d_stepn_; - double d_step2_; struct Constants { double AE;