The effect of convection on the process of carbon burning in a degenerate core