CAM
clubb_api_module.F90 File Reference

Modules

module  clubb_api_module
 

Functions/Subroutines

subroutine, public clubb_api_module::advance_clubb_core_api ( l_implemented, dt, fcor, sfc_elevation, hydromet_dim, thlm_forcing, rtm_forcing, um_forcing, vm_forcing, sclrm_forcing, edsclrm_forcing, wprtp_forcing, wpthlp_forcing, rtp2_forcing, thlp2_forcing, rtpthlp_forcing, wm_zm, wm_zt, wpthlp_sfc, wprtp_sfc, upwp_sfc, vpwp_sfc, wpsclrp_sfc, wpedsclrp_sfc, p_in_Pa, rho_zm, rho, exner, rho_ds_zm, rho_ds_zt, invrs_rho_ds_zm, invrs_rho_ds_zt, thv_ds_zm, thv_ds_zt, hydromet, rfrzm, radf, wphydrometp, wp2hmp, rtphmp, thlphmp, host_dx, host_dy, um, vm, upwp, vpwp, up2, vp2, thlm, rtm, wprtp, wpthlp, wp2, wp3, rtp2, thlp2, rtpthlp, sclrm, ifdef GFDL
 
subroutine, public clubb_api_module::setup_clubb_core_api (nzmax, T0_in, ts_nudge_in, hydromet_dim_in, sclr_dim_in, sclr_tol_in, edsclr_dim_in, params, l_host_applies_sfc_fluxes, l_uv_nudge, saturation_formula, l_implemented, grid_type, deltaz, zm_init, zm_top, momentum_heights, thermodynamic_heights, sfc_elevation, err_code)
 
subroutine, public clubb_api_module::cleanup_clubb_core_api (l_implemented)
 
integer function clubb_api_module::gregorian2julian_day_api (day, month, year)
 
subroutine clubb_api_module::compute_current_date_api (previous_day, previous_month, previous_year, seconds_since_previous_date, current_day, current_month, current_year, seconds_since_current_date)
 
logical function clubb_api_module::leap_year_api (year)
 
subroutine, public clubb_api_module::setup_corr_varnce_array_api (input_file_cloud, input_file_below, iunit, sigma2_on_mu2_ratios)
 
subroutine, public clubb_api_module::setup_pdf_indices_api (hydromet_dim, iirrm, iiNrm, iirim, iiNim, iirsm, iiNsm, iirgm, iiNgm)
 
subroutine, public clubb_api_module::report_error_api (err_code)
 
elemental logical function, public clubb_api_module::fatal_error_api (err_code)
 
subroutine, public clubb_api_module::set_clubb_debug_level_api (level)
 
logical function, public clubb_api_module::clubb_at_least_debug_level_api (level)
 
subroutine, public clubb_api_module::fill_holes_driver_api (nz, dt, hydromet_dim, l_fill_holes_hm, rho_ds_zm, rho_ds_zt, exner, thlm_mc, rvm_mc, hydromet)
 
subroutine, public clubb_api_module::fill_holes_vertical_api (num_pts, threshold, field_grid, rho_ds, rho_ds_zm, field)
 
real(kind=core_rknd) function, public clubb_api_module::vertical_integral_api (total_idx, rho_ds, field, invrs_dz)
 
subroutine, public clubb_api_module::setup_grid_heights_api (l_implemented, grid_type, deltaz, zm_init, momentum_heights, thermodynamic_heights)
 
real(kind=core_rknd) function, public clubb_api_module::lin_interpolate_two_points_api (height_int, height_high, height_low, var_high, var_low)
 
subroutine, public clubb_api_module::lin_interpolate_on_grid_api (nparam, xlist, tlist, xvalue, tvalue)
 
subroutine, public clubb_api_module::read_parameters_api (iunit, filename, params)
 
subroutine, public clubb_api_module::setup_parameters_api (deltaz, params, nzmax, grid_type, momentum_heights, thermodynamic_heights, err_code)
 
subroutine clubb_api_module::adj_low_res_nu_api (nzmax, grid_type, deltaz, momentum_heights, thermodynamic_heights)
 
subroutine clubb_api_module::pack_pdf_params_api (pdf_params, nz, r_param_array)
 
subroutine clubb_api_module::unpack_pdf_params_api (r_param_array, nz, pdf_params)
 
subroutine, public clubb_api_module::setup_pdf_parameters_api (nz, d_variables, dt, rho, Nc_in_cloud, rcm, cloud_frac, ice_supersat_frac, hydromet, wphydrometp, corr_array_cloud, corr_array_below, pdf_params, l_stats_samp, hydrometp2, mu_x_1_n, mu_x_2_n, sigma_x_1_n, sigma_x_2_n, corr_array_1_n, corr_array_2_n, corr_cholesky_mtx_1, corr_cholesky_mtx_2, hydromet_pdf_params)
 
subroutine, public clubb_api_module::stats_init_api (iunit, fname_prefix, fdir, l_stats_in, stats_fmt_in, stats_tsamp_in, stats_tout_in, fnamelist, nzmax, nlon, nlat, gzt, gzm, nnrad_zt, grad_zt, nnrad_zm, grad_zm, day, month, year, rlon, rlat, time_current, delt, l_silhs_out_in)
 
subroutine, public clubb_api_module::stats_begin_timestep_api (itime, stats_nsamp, stats_nout)
 
subroutine, public clubb_api_module::stats_end_timestep_api
 
subroutine, public clubb_api_module::stats_accumulate_hydromet_api (hydromet, rho_ds_zt)
 
subroutine, public clubb_api_module::stats_finalize_api
 
subroutine, public clubb_api_module::stats_init_rad_zm_api (vars_rad_zm, l_error)
 
subroutine, public clubb_api_module::stats_init_rad_zt_api (vars_rad_zt, l_error)
 
subroutine, public clubb_api_module::stats_init_zm_api (vars_zm, l_error)
 
subroutine, public clubb_api_module::stats_init_zt_api (vars_zt, l_error)
 
subroutine, public clubb_api_module::stats_init_sfc_api (vars_sfc, l_error)
 
elemental real(kind=core_rknd) function, public clubb_api_module::thlm2t_in_k_api (thlm, exner, rcm)
 
elemental real(kind=core_rknd) function, public clubb_api_module::t_in_k2thlm_api (T_in_K, exner, rcm)
 
real(kind=core_rknd) function, public clubb_api_module::calculate_spurious_source_api (integral_after, integral_before, flux_top, flux_sfc, integral_forcing, dt)