CAM
pdf_closure_module Module Reference

Functions/Subroutines

subroutine, public pdf_closure (hydromet_dim, p_in_Pa, exner, thv_ds, wm, wp2, wp3, sigma_sqd_w, Skw, rtm, rtp2, wprtp, thlm, thlp2, wpthlp, rtpthlp, sclrm, wpsclrp, sclrp2, sclrprtp, sclrpthlp, level, wphydrometp, wp2hmp, rtphmp, thlphmp, wp4, wprtp2, wp2rtp, wpthlp2, wp2thlp, wprtpthlp, cloud_frac, ice_supersat_frac, rcm, wpthvp, wp2thvp, rtpthvp, thlpthvp, wprcp, wp2rcp, rtprcp, thlprcp, rcp2, pdf_params, err_code, wpsclrprtp, wpsclrp2, sclrpthvp, wpsclrpthlp, sclrprcp, wp2sclrp, rc_coef)
 
elemental subroutine calc_cloud_frac_component (mean_chi_i, stdev_chi_i, chi_at_sat, cloud_frac_i, rc_i)
 
real(kind=core_rknd) function calc_cloud_frac (cloud_frac_1, cloud_frac_2, mixt_frac)
 
subroutine, public calc_vert_avg_cf_component (nz, k, z_vals, chi, stdev_chi, chi_at_sat, cloud_frac_i, rc_i)
 
real(kind=core_rknd) function, dimension(n_points) interp_var_array (n_points, nz, k, z_vals, var)
 
real(kind=core_rknd) function var_value_integer_height (nz, k, z_vals, var_grid_value)
 
real(kind=core_rknd) function var_subgrid_interp (nz, k, z_vals, var, z_interp, l_below)
 

Function/Subroutine Documentation

◆ calc_cloud_frac()

real( kind = core_rknd) function pdf_closure_module::calc_cloud_frac ( real( kind = core_rknd ), intent(in)  cloud_frac_1,
real( kind = core_rknd ), intent(in)  cloud_frac_2,
real( kind = core_rknd ), intent(in)  mixt_frac 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calc_cloud_frac_component()

elemental subroutine pdf_closure_module::calc_cloud_frac_component ( real( kind = core_rknd ), intent(in)  mean_chi_i,
real( kind = core_rknd ), intent(in)  stdev_chi_i,
real( kind = core_rknd ), intent(in)  chi_at_sat,
real( kind = core_rknd ), intent(out)  cloud_frac_i,
real( kind = core_rknd ), intent(out)  rc_i 
)
Here is the caller graph for this function:

◆ calc_vert_avg_cf_component()

subroutine, public pdf_closure_module::calc_vert_avg_cf_component ( integer, intent(in)  nz,
integer, intent(in)  k,
real( kind = core_rknd ), dimension(nz), intent(in)  z_vals,
real( kind = core_rknd ), dimension(nz), intent(in)  chi,
real( kind = core_rknd ), dimension(nz), intent(in)  stdev_chi,
real( kind = core_rknd ), dimension(nz), intent(in)  chi_at_sat,
real( kind = core_rknd ), intent(out)  cloud_frac_i,
real( kind = core_rknd ), intent(out)  rc_i 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ interp_var_array()

real( kind = core_rknd ) function, dimension(n_points) pdf_closure_module::interp_var_array ( integer, intent(in)  n_points,
integer, intent(in)  nz,
integer, intent(in)  k,
real( kind = core_rknd ), dimension(nz), intent(in)  z_vals,
real( kind = core_rknd ), dimension(nz), intent(in)  var 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pdf_closure()

subroutine, public pdf_closure_module::pdf_closure ( integer, intent(in)  hydromet_dim,
real( kind = core_rknd ), intent(in)  p_in_Pa,
real( kind = core_rknd ), intent(in)  exner,
real( kind = core_rknd ), intent(in)  thv_ds,
real( kind = core_rknd ), intent(in)  wm,
real( kind = core_rknd ), intent(in)  wp2,
real( kind = core_rknd ), intent(in)  wp3,
real( kind = core_rknd ), intent(in)  sigma_sqd_w,
real( kind = core_rknd ), intent(in)  Skw,
real( kind = core_rknd ), intent(in)  rtm,
real( kind = core_rknd ), intent(in)  rtp2,
real( kind = core_rknd ), intent(in)  wprtp,
real( kind = core_rknd ), intent(in)  thlm,
real( kind = core_rknd ), intent(in)  thlp2,
real( kind = core_rknd ), intent(in)  wpthlp,
real( kind = core_rknd ), intent(in)  rtpthlp,
real( kind = core_rknd ), dimension(sclr_dim), intent(in)  sclrm,
real( kind = core_rknd ), dimension(sclr_dim), intent(in)  wpsclrp,
real( kind = core_rknd ), dimension(sclr_dim), intent(in)  sclrp2,
real( kind = core_rknd ), dimension(sclr_dim), intent(in)  sclrprtp,
real( kind = core_rknd ), dimension(sclr_dim), intent(in)  sclrpthlp,
integer, intent(in)  level,
real( kind = core_rknd ), dimension(hydromet_dim), intent(in)  wphydrometp,
real( kind = core_rknd ), dimension(hydromet_dim), intent(in)  wp2hmp,
real( kind = core_rknd ), dimension(hydromet_dim), intent(in)  rtphmp,
real( kind = core_rknd ), dimension(hydromet_dim), intent(in)  thlphmp,
real( kind = core_rknd ), intent(out)  wp4,
real( kind = core_rknd ), intent(out)  wprtp2,
real( kind = core_rknd ), intent(out)  wp2rtp,
real( kind = core_rknd ), intent(out)  wpthlp2,
real( kind = core_rknd ), intent(out)  wp2thlp,
real( kind = core_rknd ), intent(out)  wprtpthlp,
real( kind = core_rknd ), intent(out)  cloud_frac,
real( kind = core_rknd ), intent(out)  ice_supersat_frac,
real( kind = core_rknd ), intent(out)  rcm,
real( kind = core_rknd ), intent(out)  wpthvp,
real( kind = core_rknd ), intent(out)  wp2thvp,
real( kind = core_rknd ), intent(out)  rtpthvp,
real( kind = core_rknd ), intent(out)  thlpthvp,
real( kind = core_rknd ), intent(out)  wprcp,
real( kind = core_rknd ), intent(out)  wp2rcp,
real( kind = core_rknd ), intent(out)  rtprcp,
real( kind = core_rknd ), intent(out)  thlprcp,
real( kind = core_rknd ), intent(out)  rcp2,
type(pdf_parameter), intent(out)  pdf_params,
integer, intent(out)  err_code,
real( kind = core_rknd ), dimension(sclr_dim), intent(out)  wpsclrprtp,
real( kind = core_rknd ), dimension(sclr_dim), intent(out)  wpsclrp2,
real( kind = core_rknd ), dimension(sclr_dim), intent(out)  sclrpthvp,
real( kind = core_rknd ), dimension(sclr_dim), intent(out)  wpsclrpthlp,
real( kind = core_rknd ), dimension(sclr_dim), intent(out)  sclrprcp,
real( kind = core_rknd ), dimension(sclr_dim), intent(out)  wp2sclrp,
real( kind = core_rknd ), intent(out)  rc_coef 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ var_subgrid_interp()

real( kind = core_rknd ) function pdf_closure_module::var_subgrid_interp ( integer, intent(in)  nz,
integer, intent(in)  k,
real( kind = core_rknd ), dimension(nz), intent(in)  z_vals,
real( kind = core_rknd ), dimension(nz), intent(in)  var,
real( kind = core_rknd ), intent(in)  z_interp,
logical, intent(in)  l_below 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ var_value_integer_height()

real( kind = core_rknd ) function pdf_closure_module::var_value_integer_height ( integer, intent(in)  nz,
integer, intent(in)  k,
real( kind = core_rknd ), dimension(nz), intent(in)  z_vals,
real( kind = core_rknd ), dimension(nz), intent(in)  var_grid_value 
)
Here is the call graph for this function:
Here is the caller graph for this function: