SMART: A program to automatically compute accelerations and variational equations
Abstract
Modern astronomical potentials modelling galaxies or stellar systems can be rather involved, and deriving their first derivatives (accelerations) and second derivatives (variational equations) in order to compute orbits and their chaoticity may be a formidable task. We present here a fully automated routine, dubbed SMART, with which the accelerations and the variational equations of an arbitrary potential that has been written in the FORTRAN 77 language can be computed. Almost any FORTRAN 77 statement is admitted in the potential, and the output are standard FORTRAN 77 routines ready to use. We validate our algorithm with a set of potentials including time-dependent, velocity-dependent and very complex potentials that even involve auxiliary routines. We also describe with some detail a realistic seven-component Galactic potential, MILKYWAYHYDRA, which yields very involved derivatives, thus being a good test bed for SMART.
- Publication:
-
Astronomy and Computing
- Pub Date:
- July 2022
- DOI:
- arXiv:
- arXiv:2205.15980
- Bibcode:
- 2022A&C....4000592C
- Keywords:
-
- Stellar systems;
- Planetary systems;
- Chaos;
- Numerical algorithms;
- Astrophysics - Astrophysics of Galaxies;
- Astrophysics - Instrumentation and Methods for Astrophysics
- E-Print:
- 37 pages, 5 figures. To be published in Astronomy and Computing, in press