Phantom: A smoothed particle hydrodynamics and magnetohydrodynamics code for astrophysics | Synapse