Source Functions
RRTMGP.Sources.AbstractSourceLW
— TypeAbstractSourceLW
Abstract longwave source for no-scattering and two stream longwave solvers.
RRTMGP.Sources.SourceLWNoScat
— TypeSourceLWNoScat{FT,FTA1D,FTA2D} <: AbstractSourceLW
Longwave sources: computed at layer center, layer edges, and at the surface for no scattering calculations
Fields
param_set
: Parameter setsfc_source
: Surface source[W/m2]
(ncol)
lay_source
: Planck source at layer average temperature[W/m2]
(nlay, ncol)
lev_source
: Planck level source at layer edges[W/m2]
(nlay+1, ncol)
, includes spectral weighting that accounts for state-dependent frequency to g-space mapping
RRTMGP.Sources.SourceLW2Str
— TypeSourceLW2Str{S, D, V, PS} <: AbstractSourceLW
Longwave sources: computed at layer center, layer edges, and at the surface for 2-stream calculations
Fields
param_set
: Parameter setsfc_source
: Surface source[W/m2]
(ncol)
leveldata
: storage for level source, albedo and src(3, nlay+1, ncol)
lev_source
: level source[W/m2]
(nlay+1, ncol)
, used in 2 stream calculationsalbedo
: temporary storage array, used in 2 stream calculations(nlay + 1, ncol)
src
: temporary storage array, used in 2 stream calculations(nlay + 1, ncol)
RRTMGP.Sources.SourceSW2Str
— TypeSourceSW2Str{S,D,V}
Shortwave sources: computed at layer center, layer edges, and at the surface for 2-stream calculations
Fields
sfc_source
: surface source(ncol)
leveldata
: storage for albedo and src(2, nlay + 1, ncol)
albedo
: albedo(nlay + 1, ncol)
src
: temporary storage array, used in 2 stream calculations(nlay + 1, ncol)
RRTMGP.Sources.source_func_longwave
— Functionsource_func_longwave(
param_set,
::Type{FT},
ncol::Int,
nlay::Int,
OPC::Symbol,
::Type{DA},
) where {FT, DA}
Initializes the longwave source for one scalar and two stream simulations.
RRTMGP.Sources.source_func_shortwave
— Functionsource_func_shortwave(
::Type{FT},
ncol::Int,
nlay::Int,
opc::Symbol,
::Type{DA},
) where {FT,DA}
Initializes the shortwave source for one scalar and two stream simulations.