/spherical_harmonic_gravity

Spherical Harmonic Gravitational Potential

Primary LanguageCMake

Spherical Harmonic Gravitational Potential

Installation:

git submodule update --init

Dependencies

  • cmake - sudo apt-get install cmake
  • gcc/g++ - sudo apt-get install build-essential
  1. Create build directory and run cmake
mkdir build
cd build
cmake ..
  1. Build the code make

  2. Run tests cd ../bin/test_all

TODO

  • Reader for harmonic coefficients
  • Associated legendre functions
  • Potential and acceleration function
  • Allow input of ECEF <> ECI rotation matrix