Clearer setting of xll variable at end of integrator
parent
fd8370280c
commit
9f30d5990d
|
@ -1130,10 +1130,10 @@ void SGDP4::DeepSpaceSecular(const double& t, double& xll, double& omgasm,
|
||||||
const double xl = d_xli_ + xldot * ft + xndot * ft * ft * 0.5;
|
const double xl = d_xli_ + xldot * ft + xndot * ft * ft * 0.5;
|
||||||
const double temp = -xnodes + i_gsto_ + t * THDT;
|
const double temp = -xnodes + i_gsto_ + t * THDT;
|
||||||
|
|
||||||
if (!d_synchronous_flag_)
|
if (d_synchronous_flag_)
|
||||||
xll = xl + temp + temp;
|
xll = xl + temp - omgasm;
|
||||||
else
|
else
|
||||||
xll = xl - omgasm + temp;
|
xll = xl + temp + temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue