Determination of detonation cell size and the role of transverse waves in two-dimensional detonations