Fortran-Astrodynamics-Toolkit 是现代 Fortran 编写的天体动力学算法库,涵盖轨道传播、Lambert 问题、坐标转换、数值积分等经典算法,代码规范,适合与传统航天软件集成。镜像收录自 https://github.com/jacobwilliams/Fortran-Astrodynamics-Toolkit,License:BSD-3-Clause
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Overview
The goal of the Fortran Astrodynamics Toolkit is to produce a comprehensive library, written in modern Fortran (Fortran 2008+), of all the standard orbital mechanics algorithms. This is a work in progress. Currently-implemented and proposed capabilities include:
Examples
Building
The Fortran Astrodynamics Toolkit and the test programs will build with any modern Fortran compiler. A Fortran Package Manager manifest file (
fpm.toml) is included, so that the library and tests cases can be compiled with FPM. For example:To use
Fortran-Astrodynamics-Toolkitwithin your fpm project, add the following to yourfpm.tomlfile:or, to use a specific version:
To generate the documentation using ford, run:
ford ford.mdThird-Party Requirements
A script
get_third_party.shis included to download and build the third-party dependencies on unix-like operating systems.Pyplot-Fortran
The plots generated by the examples are done using the pyplot-fortran module. When compiling with FPM, this will automatically be downloaded and compiled.
Ephemeris files
To use the ephemeris_module, a copy of one of the JPL binary ephemeris files must be present in the
ephdirectory. This can be built from the instructions at: ftp://ssd.jpl.nasa.gov/pub/eph/planets/fortran/userguide.txt. For example (on Linux):Geopotential files
To use the geopotential_module, you need a geopotential model file (for example
GGM03C.GEOfrom ftp://ftp.csr.utexas.edu/pub/grace/GGM03/GGM03_Archive.zip). This should be placed in thegravdirectory. For example:Documentation
The documentation for the latest code in
mastercan be found here.See also