The structure and extinction of partially premixed flames burning methane in air