From be07d27ca85a5421ee719a742f6d5c43d4a49734 Mon Sep 17 00:00:00 2001 From: Daniel Warner Date: Thu, 31 Mar 2011 22:35:05 +0100 Subject: [PATCH] Initialise integrator by default --- SGDP4.cpp | 2 +- main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SGDP4.cpp b/SGDP4.cpp index 692dfbe..6bbbc76 100644 --- a/SGDP4.cpp +++ b/SGDP4.cpp @@ -780,7 +780,7 @@ void SGDP4::DeepSpaceInitialize(const double& eosq, const double& sinio, const d */ d_resonance_flag_ = false; d_synchronous_flag_ = false; - bool initialize_integrator = false; + bool initialize_integrator = true; if (RecoveredMeanMotion() < 0.0052359877 && RecoveredMeanMotion() > 0.0034906585) { diff --git a/main.cpp b/main.cpp index 74f01aa..f1b7ea5 100644 --- a/main.cpp +++ b/main.cpp @@ -144,7 +144,7 @@ void RunTle(Tle tle, double start, double end, double inc) { void RunTest() { -#if 0 +//#if 0 /* # ------------------ Verification test cases ---------------------- @@ -207,7 +207,7 @@ void RunTest() { "1 09998U 74033F 05148.79417928 -.00000112 00000-0 00000+0 0 4480", "2 09998 9.4958 313.1750 0270971 327.5225 30.8097 1.16186785 45878"), -1440.0, -720.0, 60.0); -#endif + /* # # Original STR#3 SDP4 test 1 11801U 80230.29629788 .01431103 00000-0 14311-1 13 @@ -216,8 +216,8 @@ void RunTest() { RunTle(Tle("11801", "1 11801U 80230.29629788 .01431103 00000-0 14311-1 13", "2 11801 46.7916 230.4354 7318036 47.4722 10.4117 2.28537848 13"), 0.0, 1440.0, 360.0); +//#endif - return; /* # EUTELSAT 1-F1 (ECS1)## fig lyddane choice in GSFC at 2080 min 1 14128U 83058A 06176.02844893 -.00000158 00000-0 10000-3 0 9627