Utilities for gray radiation simulation
RRTMGP.GrayUtils.update_profile_lw! — Functionupdate_profile_lw!(
::ClimaComms.AbstractDevice,
sbc,
t_lay,
t_lev,
flux_dn,
flux_net,
hr_lay,
flux_grad,
T_ex_lev,
Δt,
nlay,
nlev,
ncol,
)Updates tlay and tlev based on heating rate.
RRTMGP.GrayUtils.compute_gray_heating_rate! — Functioncompute_gray_heating_rate!(
context,
hr_lay,
p_lev,
ncol,
nlay,
flux_net,
cp_d_,
grav_,
)Computes the heating rate for the gray radiation simulation.