From 1fa16c5248c93572aced9c8ea5433271e1ac5203 Mon Sep 17 00:00:00 2001 From: Daniel Warner Date: Thu, 31 Mar 2011 19:56:41 +0100 Subject: [PATCH] Code comments --- SGDP4.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SGDP4.cpp b/SGDP4.cpp index c8a7d12..921354b 100644 --- a/SGDP4.cpp +++ b/SGDP4.cpp @@ -972,17 +972,23 @@ void SGDP4::DeepSpaceCalculateLunarSolarTerms(const double t, double& pe, double } /* - * lunar / solar periodics + * calculate lunar / solar periodics and apply */ void SGDP4::DeepSpacePeriodics(const double& t, double& em, double& xinc, double& omgasm, double& xnodes, double& xll) { + /* + * storage for lunar / solar terms set by DeepSpaceCalculateLunarSolarTerms() + */ double pe = 0.0; double pinc = 0.0; double pl = 0.0; double pgh = 0.0; double ph = 0.0; + /* + * calculate lunar / solar terms for current time + */ DeepSpaceCalculateLunarSolarTerms(t, pe, pinc, pl, pgh, ph); if (!first_run_) {