#include "rrtmgp_const.h"
#include "ERF_RadConstants.H"
#include "ERF_Constants.H"
Go to the source code of this file.
◆ ice_effective_radius()
AMREX_FORCE_INLINE real ice_effective_radius |
( |
real |
temperature | ) |
|
39 index = std::min(std::max(index, 1), 94);
40 real fraction = temperature-int(temperature);
static constexpr real icesize_table_min_temp
Definition: ERF_RadConstants.H:41
static constexpr real retab[]
Definition: ERF_RadConstants.H:42
◆ liquid_effective_radius()
AMREX_FORCE_INLINE real liquid_effective_radius |
( |
real |
temperature, |
|
|
real |
landfrac, |
|
|
real |
icefrac = 0. , |
|
|
real |
snowh = 0. |
|
) |
| |
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));
constexpr amrex::Real tmelt
Definition: ERF_Constants.H:88