A new method of predicting the critical temperature of explosives for various geometries