CCPP Scientific Documentation
v5.0.0
subroutine rrtmg_sw::taumol ( real (kind=kind_phys), dimension(nlay,maxgas), intent(in)  colamt,
real (kind=kind_phys), dimension(nlay), intent(in)  colmol,
real (kind=kind_phys), dimension(nlay), intent(in)  fac00,
real (kind=kind_phys), dimension(nlay), intent(in)  fac01,
real (kind=kind_phys), dimension(nlay), intent(in)  fac10,
real (kind=kind_phys), dimension(nlay), intent(in)  fac11,
integer, dimension(nlay), intent(in)  jp,
integer, dimension(nlay), intent(in)  jt,
integer, dimension(nlay), intent(in)  jt1,
integer, intent(in)  laytrop,
real (kind=kind_phys), dimension(nlay), intent(in)  forfac,
real (kind=kind_phys), dimension(nlay), intent(in)  forfrac,
integer, dimension(nlay), intent(in)  indfor,
real (kind=kind_phys), dimension(nlay), intent(in)  selffac,
real (kind=kind_phys), dimension(nlay), intent(in)  selffrac,
integer, dimension(nlay), intent(in)  indself,
integer, intent(in)  nlay,
real (kind=kind_phys), dimension(ngptsw), intent(out)  sfluxzen,
real (kind=kind_phys), dimension(nlay,ngptsw), intent(out)  taug,
real (kind=kind_phys), dimension(nlay,ngptsw), intent(out)  taur 
)
private
Parameters
colamtcolumn amounts of absorbing gases the index are for h2o, co2, o3, n2o, ch4, and o2, respectively \((mol/cm^2)\)
colmoltotal column amount (dry air+water vapor)
fac00,fac01,fac10,fac11for each layer, these are factors that are needed to compute the interpolation factors that multiply the appropriate reference k-values. a value of 0/1 for i,j indicates that the corresponding factor multiplies reference k-value for the lower/higher of the two appropriate temperatures, and altitudes, respectively.
jpthe index of the lower (in altitude) of the two appropriate ref pressure levels needed for interpolation.
jt,jt1the indices of the lower of the two approp ref temperatures needed for interpolation (for pressure levels jp and jp+1, respectively)
laytroptropopause layer index
forfacscale factor needed to foreign-continuum.
forfracfactor needed for temperature interpolation
indforindex of the lower of the two appropriate reference temperatures needed for foreign-continuum interpolation
selffacscale factor needed to h2o self-continuum.
selffracfactor needed for temperature interpolation of reference h2o self-continuum data
indselfindex of the lower of the two appropriate reference temperatures needed for the self-continuum interpolation
nlaynumber of vertical layers
sfluxzenspectral distribution of incoming solar flux
taugspectral optical depth for gases
tauropt depth for rayleigh scattering

taumol General Algorithm

References f_one, module_radsw_sflux::ibx, module_radsw_sflux::ix1, module_radsw_sflux::ix2, module_radsw_sflux::layreffr, module_radsw_parameters::nbhgh, module_radsw_parameters::nblow, module_radsw_parameters::ng, module_radsw_parameters::ngs, nspa, nspb, oneminus, module_radsw_sflux::scalekur, module_radsw_sflux::sfluxref01, module_radsw_sflux::sfluxref02, module_radsw_sflux::sfluxref03, module_radsw_sflux::specwt, module_radsw_sflux::strrat, taumol16(), taumol17(), taumol18(), taumol19(), taumol20(), taumol21(), taumol22(), taumol23(), taumol24(), taumol25(), taumol26(), taumol27(), taumol28(), and taumol29().

Referenced by rrtmg_sw_run().

Here is the call graph for this function: