toma63/cmech


celestial mechanics in golang

License: GPL-2.0

Language: Go


cmech

A simple celestial mechanics package in golang

Body

A struct which models a celestial body in the solar system. Mass in kg, state vector in cartesian coordinates (km-s).

func (body *Body) Update(other *Body, timestep float64)

Updates the state vector of a pair of Bodies based on gravitational forces for a single timestep.

getsv

Uses the JPL Horizons telnet server to get a mass and state vector for a celestial body. Includes a command line demo application.

Project Statistics

Sourcerank 3
Repository Size 14.6 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

toma63

Packages Referencing this Repo

github.com/toma63/cmech
celestial mechanics in golang
Latest release - Published
github.com/toma63/cmech/getsv
celestial mechanics in golang
Latest release - Published

Something wrong with this page? Make a suggestion

Last synced: 2017-01-19 08:21:40 UTC

Login to resync this repository