danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
103 stars 223 forks source link

should combine SETUP=star, SETUP=binary and SETUP=hierarchical #425

Open danieljprice opened 1 year ago

danieljprice commented 1 year ago

there is no particular need to have separate phantomsetup utilities for 1, 2 and many stars

It would be better to combine setup_star.f90, setup_binary.f90 and setup_hierarchical.f90 into a single all-singing-all-dancing setup for 1, 2 or many stars, with any combination of sink particles and stars setup from stellar profiles.

In principle this is not very much work, and would make a single well-supported setup for stellar interaction simulations. The work required is: