Code comments
parent
5275bded96
commit
1fa16c5248
|
@ -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,
|
void SGDP4::DeepSpacePeriodics(const double& t, double& em,
|
||||||
double& xinc, double& omgasm, double& xnodes, double& xll) {
|
double& xinc, double& omgasm, double& xnodes, double& xll) {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* storage for lunar / solar terms set by DeepSpaceCalculateLunarSolarTerms()
|
||||||
|
*/
|
||||||
double pe = 0.0;
|
double pe = 0.0;
|
||||||
double pinc = 0.0;
|
double pinc = 0.0;
|
||||||
double pl = 0.0;
|
double pl = 0.0;
|
||||||
double pgh = 0.0;
|
double pgh = 0.0;
|
||||||
double ph = 0.0;
|
double ph = 0.0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* calculate lunar / solar terms for current time
|
||||||
|
*/
|
||||||
DeepSpaceCalculateLunarSolarTerms(t, pe, pinc, pl, pgh, ph);
|
DeepSpaceCalculateLunarSolarTerms(t, pe, pinc, pl, pgh, ph);
|
||||||
|
|
||||||
if (!first_run_) {
|
if (!first_run_) {
|
||||||
|
|
Loading…
Reference in New Issue