mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-04 12:41:47 -05:00
Implemented the C function Astronomy_ObserverGravity. It implements the WGS 84 Ellipsoidal Gravity Formula, yielding the effective observed gravitational acceleration at a location on or above the Earth's surface. Wrote a demo program that also serves as a unit test. I verified a few of the calculations, so the file demo/c/test/gravity_correct.txt also serves as correct unit test output.