Loading [MathJax]/extensions/tex2jax.js
CCPP SciDoc for UFS-SRW v3.0.0  SRW v3.0.0
Common Community Physics Package Developed at DTC
 
All Classes Namespaces Functions Variables Modules Pages
Loading...
Searching...
No Matches

◆ lakeini()

subroutine clm_lake::lakeini ( integer, intent(in) kdt,
integer, dimension(:), intent(in) isltyp,
real(kind_phys), dimension(:,:), intent(in) gt0,
real(kind_phys), dimension(:), intent(inout) snowd,
real(kind_phys), dimension(:), intent(inout) weasd,
real(kind_phys), intent(in) lakedepth_default,
real(kind_phys), intent(in) fhour,
real(kind_phys), dimension(:), intent(in) oro_lakedepth,
real(kind_phys), dimension(:), intent(out) savedtke12d,
real(kind_phys), dimension(:), intent(out) snowdp2d,
real(kind_phys), dimension(:), intent(out) h2osno2d,
real(kind_phys), dimension(:), intent(out) snl2d,
real(kind_phys), dimension(:), intent(out) t_grnd2d,
real(kind_phys), dimension(:,:), intent(out) t_lake3d,
real(kind_phys), dimension(:,:), intent(out) lake_icefrac3d,
real(kind_phys), dimension(:,-nlevsnow+1:), intent(out) t_soisno3d,
real(kind_phys), dimension(:,-nlevsnow+1:), intent(out) h2osoi_ice3d,
real(kind_phys), dimension(:,-nlevsnow+1:), intent(out) h2osoi_liq3d,
real(kind_phys), dimension(:,-nlevsnow+1:), intent(out) h2osoi_vol3d,
real(kind_phys), dimension(:,-nlevsnow+1:), intent(out) z3d,
real(kind_phys), dimension(:,-nlevsnow+1:), intent(out) dz3d,
real(kind_phys), dimension(:,-nlevsnow+0:), intent(out) zi3d,
real(kind_phys), dimension(:), intent(inout) fice,
real(kind_phys), dimension(:), intent(inout) hice,
real(kind_phys), intent(in) min_lakeice,
real(kind_phys), dimension(:), intent(in) tsfc,
integer, dimension(:), intent(in) use_lake_model,
logical, intent(in) use_lakedepth,
integer, intent(in) im,
real(kind_phys), dimension(:,:), intent(in) prsi,
real(kind_phys), dimension(:), intent(in) xlat_d,
real(kind_phys), dimension(:), intent(in) xlon_d,
real(kind_phys), dimension(:), intent(inout) clm_lake_initialized,
real(kind_phys), dimension(:), intent(inout) input_lakedepth,
real(kind_phys), dimension(:), intent(in) tg3,
real(kind_phys), dimension(:), intent(inout) clm_lakedepth,
integer, intent(in) km,
integer, intent(in) me,
integer, intent(in) master,
character(*), intent(out) errmsg,
integer, intent(out) errflg )
private
Parameters
[out]errflgSome fields in lakeini are not available during initialization, so clm_lake_init cannot complete the initialization. What is not in clm_lake_init, is initialized in lakeini on points where use_lake_model(i)>0. The clm_lake_initialized(i) guards against initializing a point twice. For that to work, clm_lake_initialized must be a restart variable.