Smoothed Particle Hydrodynamics with particle splitting, applied to self-gravitating collapse | Synapse