accrete 0.0.3

Rust port of Accrete, planetary system accretion simulation algorithm by Stephen H. Dole, published as 'Formation of Planetary Systems by Aggregation: A Computer Simulation' with some of improvements made by various talented people during past ~50 years.
Documentation

Accrete.rs

This is rust port of Accrete - planetary system accretion algorithm by H. Dole. Various sources from github were used to reproduce Accrete functionality.

This implemetation do not pretend to be accurate scientific modelling tool, but produce plausible planetary systems.

Example

use accrete;

// To return JSON instead of struct just pass true to run function;
fn main() {
    let planets = accrete::run(false);
    println!("{:#?}", planets);
}

Brief history

Accrete's origin dates back to the late 60's when Stephen H. Dole published "Formation of Planetary Systems by Aggregation: A Computer Simulation". Almost a decade later Carl Sagan and Richard Isaacson refined Dole's model -- which shortly thereafter was also implemented in FORTRAN, and again elaborately and academically published by Martin Fogg in his paper "Extra-Solar Planetary Systems". The late 80's came and Matt Burdick brought this priceless program to the masses (via Turbo Pascal and C). Since then, many versions of Accrete have popped up around the internet, adding varying degrees of planetary specifics – the most notable (and ingenious) being Jim Burrow's implementation StarGen.(c)

Papers

Acknowledgements