Simulation of Void Collapse in an Energetic Material, Part I: Inert Case