CCPP Scientific Documentation
v5.0.0
subroutine rrtmg_sw::vrtqdr ( real (kind=kind_phys), dimension(nlp1), intent(in)  zrefb,
real (kind=kind_phys), dimension(nlp1), intent(in)  zrefd,
real (kind=kind_phys), dimension(nlp1), intent(in)  ztrab,
real (kind=kind_phys), dimension(nlp1), intent(in)  ztrad,
real (kind=kind_phys), dimension(nlp1), intent(in)  zldbt,
real (kind=kind_phys), dimension(nlp1), intent(in)  ztdbt,
integer, intent(in)  NLAY,
integer, intent(in)  NLP1,
real (kind=kind_phys), dimension(nlp1), intent(out)  zfu,
real (kind=kind_phys), dimension(nlp1), intent(out)  zfd 
)
private
Parameters
zrefblayer direct beam reflectivity
zrefdlayer diffuse reflectivity
ztrablayer direct beam transmissivity
ztradlayer diffuse transmissivity
zldbtlayer mean beam transmittance
ztdbttotal beam transmittance at levels
NLAY,NLP1number of layers/levels
zfuupward flux at layer interface
zfddownward flux at layer interface

vrtqdr General Algorithm

  1. Link lowest layer with surface.
  2. Pass from bottom to top.
  3. Upper boundary conditions
  4. Pass from top to bottom
  5. Up and down-welling fluxes at levels.

References f_one, and f_zero.

Referenced by spcvrtc(), and spcvrtm().