Compute convective fluxes of dry static energy and moisture using a simplified mass-flux scheme
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | psa(ix,il) | Normalised surface pressure [p/p0]  | 
  
||
| real, | intent(in) | :: | se(ix,il,kx) | Dry static energy [c_p.T + g.z]  | 
  
||
| real, | intent(in) | :: | qa(ix,il,kx) | Specific humidity [g/kg]  | 
  
||
| real, | intent(in) | :: | qsat(ix,il,kx) | Saturation specific humidity [g/kg]  | 
  
||
| integer, | intent(out) | :: | itop(ix,il) | Top of convection (layer index)  | 
  
||
| real, | intent(out) | :: | cbmf(ix,il) | Cloud-base mass flux  | 
  
||
| real, | intent(out) | :: | precnv(ix,il) | Convective precipitation [g/(m^2 s)]  | 
  
||
| real, | intent(out) | :: | dfse(ix,il,kx) | Net flux of dry static energy into each atmospheric layer  | 
  
||
| real, | intent(out) | :: | dfqa(ix,il,kx) | Net flux of specific humidity into each atmospheric layer  |