Text this: Numerical Simulation of the Deflagration-to-Detonation Transition in Inhomogeneous Mixtures