CCPP SciDoc  v6.0.0
Common Community Physics Package Developed at DTC

◆ hrt_glacier()

subroutine, private noahmp_glacier_routines::hrt_glacier ( integer, intent(in)  nsnow,
integer, intent(in)  nsoil,
integer, intent(in)  isnow,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  zsnso,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  stc,
real (kind=kind_phys), intent(in)  tbot,
real (kind=kind_phys), intent(in)  zbot,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  df,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  hcpct,
real (kind=kind_phys), intent(in)  ssoil,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  phi,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(out)  ai,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(out)  bi,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(out)  ci,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(out)  rhsts,
real (kind=kind_phys), intent(out)  botflx 
)
private
Parameters
[in]nsoilcalculate the right hand side of the time tendency term of the soil thermal diffusion equation. also to compute ( prepare ) the matrix coefficients for the tri-diagonal matrix of the implicit time scheme.
[in]nsoilno of soil layers (4)
[in]nsnowmaximum no of snow layers (3)
[in]isnowactual no of snow layers
[in]tbotbottom soil temp. at zbot (k)
[in]zbotdepth of lower boundary condition (m) from soil surface not snow surface
[in]ssoilground heat flux (w/m2)
[in]zsnsodepth of layer-bottom of snow/soil (m)
[in]stcsnow/soil temperature (k)
[in]dfthermal conductivity [w/m/k]
[in]hcpctheat capacity [j/m3/k]
[in]philight through water (w/m2)
[out]rhstsright-hand side of the matrix
[out]aileft-hand side coefficient
[out]bileft-hand side coefficient
[out]cileft-hand side coefficient
[out]botflxenergy influx from soil bottom (w/m2)

Referenced by tsnosoi_glacier().

Here is the caller graph for this function: