calc_ice_number Function

public elemental function calc_ice_number(q_ice, temp) result(n_ice)

Uses

  • proc~~calc_ice_number~~UsesGraph proc~calc_ice_number calc_ice_number module~module_mp_tempo_params module_mp_tempo_params proc~calc_ice_number->module~module_mp_tempo_params ccpp_kind_types ccpp_kind_types module~module_mp_tempo_params->ccpp_kind_types iso_fortran_env iso_fortran_env module~module_mp_tempo_params->iso_fortran_env module~machine machine module~module_mp_tempo_params->module~machine mpas_kind_types mpas_kind_types module~module_mp_tempo_params->mpas_kind_types

calculates ice number mixing ratio from mass fit of the RRTMG ice effective radius table and code by Gemini calculate the radiative effective size of ice. converts temperature from kelvin to celsius and applies a single continuous rational function to replace the discrete lookup. single continuous function for all temperatures safety clamp: strictly bound the radius for extreme hot/cold convert effective radius (microns) to diameter (meters) calculate the number concentration from the mean size and mass mixing ratio, assuming an inverse exponential size distribution.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: q_ice
real(kind=wp), intent(in) :: temp

Return Value real(kind=wp)