ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2105.021] Kepler's Goat Herd: Solving Kepler's equation via contour integration

Kepler's Goat Herd solves Kepler's equation using contour integration to solve the "geometric goat problem". The C++ code implements a variety of solution: 1.) Newton-Raphson: The quadratic Newton-Raphson root finder; 2.) Danby: The quartic root; 3.) Series: An elliptical series method; and 4.) Contour: A new method based on contour integration. Given an array of mean anomalies, an eccentricity and a desired precision, the code estimates the eccentric anomaly using each method. The accuracy of each approach is increased until the desired precision is reached, and timing is performed using the C++ chrono package.

Code site:
https://github.com/oliverphilcox/Keplers-Goat-Herd
Described in:
https://ui.adsabs.harvard.edu/abs/2021MNRAS.506.6111P
Bibcode:
2021ascl.soft05021P

Views: 2771

ascl:2105.021
Add this shield to your page
Copy the above HTML to add this shield to your code's website.