SMS dit: Dynamics of detonations and explosions