Code for our paper "Extreme close approaches in hierarchical triple systems with comparable masses", N. Haim & B. Katz, Monthly Notices of the Royal Astronomical Society, Volume 479, Issue 3, September 2018 (MNRAS version)
The code includes the simulations done in the paper.
For a quick prediction if your three-body system is about to collide simply plug your initial conditions in predict_collision_from_initial_conditions.py
If you find our work useful in your research, please consider citing:
@article{haim2018extreme,
title={Extreme close approaches in hierarchical triple systems with comparable masses},
author={Haim, Niv and Katz, Boaz},
journal={Monthly Notices of the Royal Astronomical Society},
volume={479},
number={3},
pages={3155--3166},
year={2018},
publisher={Oxford University Press}
}