Calculating Flame Spread on Horizontal and Vertical Surfaces.