The ignition of thermonuclear flames in type Ia supernovae