Error in DSSTPropagator.computeOsculatingOrbit
aoR3Pow initialised after Qns coefficients initialisation in DSSTThirdBody.updateShortTerms, while using static function DSSTPropagator.computeOsculatingOrbit
This does not happen when using an instance of the DSSTPropagator class, as those aoR3Pow parameters are also initialised in method DSSTThirdBody.getMeanElementRate.
The solution consists in switching the order of aoR3Pow and Qns coefficients initialisation in DSSTTthirBody.updateShortTerms.
Corrected file in attachment.
#1 Updated by Pascal Parraud about 2 years ago
- Status changed from New to Resolved
Thanks for the report and the patch !
The issue affected the static methods computeMeanOrbit and computeOsculatingOrbit from the DSSTPropagator class when some 3rdBody force model was taken into account, the short periods from 3rdBody weren't computed in this case. An instantiated DSSTpropagator was not affected when propagating.
Fixed in 5ecce02d.