5 #ifndef ERF_PARAMETERIZATIONS_H_
6 #define ERF_PARAMETERIZATIONS_H_
8 #include "rrtmgp_const.h"
15 const real rliqland = 8.0;
16 const real rliqocean = 14.0;
17 const real rliqice = 14.0;
22 reffective = rliqland+(rliqocean-rliqland)*std::min(1.0, std::max(0.0, (
tmelt-temperature)*0.05));
25 reffective = reffective + (rliqocean-reffective)*std::min(1.0, std::max(0.0, snowh*10.));
28 reffective = reffective + (rliqocean-reffective) * std::min(1.0, std::max(0.0, 1.0 - landfrac));
31 reffective = reffective + (rliqice-reffective) * std::min(1.0, std::max(0.0, icefrac));
39 index = std::min(std::max(index, 1), 94);
40 real fraction = temperature-int(temperature);
constexpr amrex::Real tmelt
Definition: ERF_Constants.H:88
AMREX_FORCE_INLINE real ice_effective_radius(real temperature)
Definition: ERF_Parameterizations.H:36
AMREX_FORCE_INLINE real liquid_effective_radius(real temperature, real landfrac, real icefrac=0., real snowh=0.)
Definition: ERF_Parameterizations.H:13
static constexpr real icesize_table_min_temp
Definition: ERF_RadConstants.H:41
static constexpr real retab[]
Definition: ERF_RadConstants.H:42