SecularMultiple computes the secular (orbit-averaged) gravitational dynamics of hierarchical multiple systems composed of nested binary orbits (simplex-type systems) with any configuration and any number of bodies. A particle can represent a binary or a body. The structure of the system is determined by linking to other particles with the attributes child1 and child2, and tidal interactions and relativistic corrections are included in an ad hoc fashion. SecularMultiple also includes routines for external perturbations such as flybys and supernovae.
https://ui.adsabs.harvard.edu/abs/2016MNRAS.459.2827H , https://ui.adsabs.harvard.edu/abs/2018MNRAS.476.4139H , https://ui.adsabs.harvard.edu/abs/2020MNRAS.494.5492H