Finished single-source-of-truth for Pluto constants.

The Pluto gravity simulator constants now come from
a single source: pluto_gravsim.h. This will allow me
to experiment with the Pluto state table to get a better
compromise between size and accuracy.
This commit is contained in:
Don Cross
2021-11-12 15:30:56 -05:00
parent 813bbf1c8e
commit a5fd814ba1
16 changed files with 3651 additions and 3650 deletions

View File

@@ -3309,6 +3309,8 @@ def _CalcEarth(time):
_PLUTO_NUM_STATES = 41
_PLUTO_TIME_STEP = 36500
_PLUTO_DT = 250
_PLUTO_NSTEPS = 147
_PlutoStateTable = [
[ -730000.0, [-26.1182072321076, -14.3761681778250, 3.3844025152995], [ 1.6339372163656e-03, -2.7861699588508e-03, -1.3585880229445e-03]]
@@ -3482,8 +3484,6 @@ def _GravSim(tt2, calc1):
return _grav_sim_t(bary2, grav)
_PLUTO_DT = 250
_PLUTO_NSTEPS = (_PLUTO_TIME_STEP // _PLUTO_DT) + 1
_pluto_cache = [None] * (_PLUTO_NUM_STATES - 1)