Theory of combustion of thin film structures