A parametric model of cumulus convection