calcmatrix Subroutine

public subroutine calcmatrix(lconv, delt, cbmf, ithread)


                                                                        *

This subroutine calculates the matrix describing convective * redistribution of mass in a grid column, using the subroutine * convect43c.f provided by Kerry Emanuel. * * Petra Seibert, Bernd C. Krueger, 2000-2001 * *


Changes: * changed by C. Forster, November 2003 - February 2004 * array fmassfrac(nconvlevmax,nconvlevmax) represents * the convective redistribution matrix for the particles * * Unified ECMWF and GFS builds * Marian Harustak, 12.5.2017 * - Merged calcmatrix and calcmatrix_gfs into one routine using if-then * for meteo-type dependent code *


                                                                        *

lconv indicates whether there is convection in this cell, or not * delt time step for convection [s] * cbmf cloud base mass flux * metdata_format format of metdata (ecmwf/gfs) * *




$ do k=1,nconvlev !old

Arguments

Type IntentOptional Attributes Name
logical :: lconv
real :: delt
real :: cbmf
integer, intent(in) :: ithread