matthewholman / assist

ASSIST is a software package for ephemeris-quality integrations of test particles.
https://assist.readthedocs.io/
GNU General Public License v3.0
24 stars 10 forks source link

Combined ephem functions #49

Closed hannorein closed 1 year ago

hannorein commented 1 year ago

1) This removes the wrapper functions ast_ephem and planet_ephem from forces.c. These really don't do much other than look up the body's mass in an array and call the corresponding function assist_jpl_calc and assist_spk_calc. Now that little extra functionality is just all in assist_jpl_calc and assist_spk_calc which I would think makes it easier to maintain. (This was originally also part of the big PR that we've put on hold for now) 2) This provides an ASSIST-wide enum ASSIST_STATUS. Previously a similar enum was declared in multiple places which could be problematic if they ever get out of sync.