Energy transfer rates in primary, secondary, and insensitive explosives