\hypertarget{namespaceclm__lake}{}\doxysubsection{clm\+\_\+lake Module Reference}
\label{namespaceclm__lake}\index{clm\_lake@{clm\_lake}}
\doxysubsubsection*{Functions/\+Subroutines}
\begin{DoxyCompactItemize}
\item 
logical function \mbox{\hyperlink{namespaceclm__lake_ad415a439ef667391595b8c68bb31b819_ad415a439ef667391595b8c68bb31b819}{limit\+\_\+temperature\+\_\+by\+\_\+climatology}} (xlat\+\_\+d, xlon\+\_\+positive)
\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_a8277cbe815e5f397427775563aa4f398_a8277cbe815e5f397427775563aa4f398}{is\+\_\+salty}} (xlat\+\_\+d, xlon\+\_\+positive, cannot\+\_\+freeze, salty)
\item 
subroutine, public \mbox{\hyperlink{namespaceclm__lake_a4706cf49d81edb2cd2d94e4d6cbe2b13_a4706cf49d81edb2cd2d94e4d6cbe2b13}{clm\+\_\+lake\+\_\+run}} (im, km, me, master, fhour, IDATE, kdt, iopt\+\_\+lake, iopt\+\_\+lake\+\_\+clm, min\+\_\+lakeice, lakedepth\+\_\+default, use\+\_\+lakedepth, dtp, use\+\_\+lake\+\_\+model, clm\+\_\+lake\+\_\+initialized, frac\+\_\+grid, frac\+\_\+ice, lkm, tg3, pgr, zlvl, gt0, prsi, phii, qvcurr, gu0, gv0, xlat\+\_\+d, xlon\+\_\+d, ch, cm, dlwsfci, dswsfci, oro\+\_\+lakedepth, wind, rho0, tsfc, flag\+\_\+iter, ISLTYP, rainncprv, raincprv, evap\+\_\+wat, evap\+\_\+ice, hflx\+\_\+wat, hflx\+\_\+ice, gflx\+\_\+wat, gflx\+\_\+ice, ep1d\+\_\+water, ep1d\+\_\+ice, tsurf\+\_\+water, tsurf\+\_\+ice, tsfc\+\_\+wat, tisfc, weasdi, snodi, hice, qss\+\_\+water, qss\+\_\+ice, cmm\+\_\+water, cmm\+\_\+ice, chh\+\_\+water, chh\+\_\+ice, uustar\+\_\+water, uustar\+\_\+ice, lake\+\_\+t\+\_\+snow, albedo, zorlw, zorli, lake\+\_\+t2m, lake\+\_\+q2m, weasd, snowd, fice, icy, salty, savedtke12d, snowdp2d, h2osno2d, snl2d, t\+\_\+grnd2d, t\+\_\+lake3d, lake\+\_\+icefrac3d, t\+\_\+soisno3d, h2osoi\+\_\+ice3d, h2osoi\+\_\+liq3d, h2osoi\+\_\+vol3d, z3d, dz3d, zi3d, z\+\_\+lake3d, dz\+\_\+lake3d, watsat3d, csol3d, sand3d, clay3d, tkmg3d, tkdry3d, tksatu3d, clm\+\_\+lakedepth, cannot\+\_\+freeze, errflg, errmsg)
\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ad11c9e87b1be147aa2076463a7ee3dfc_ad11c9e87b1be147aa2076463a7ee3dfc}{lakemain}} (forc\+\_\+t, forc\+\_\+pbot, forc\+\_\+psrf, forc\+\_\+hgt, forc\+\_\+hgt\+\_\+q, forc\+\_\+hgt\+\_\+t, forc\+\_\+hgt\+\_\+u, forc\+\_\+q, forc\+\_\+u, forc\+\_\+v, forc\+\_\+lwrad, prec, sabg, lat, z\+\_\+lake, dz\+\_\+lake, lakedepth, do\+\_\+capsnow, h2osno, snowdp, snl, z, dz, zi, h2osoi\+\_\+vol, h2osoi\+\_\+liq, h2osoi\+\_\+ice, t\+\_\+grnd, t\+\_\+soisno, t\+\_\+lake, savedtke1, lake\+\_\+icefrac, eflx\+\_\+lwrad\+\_\+net, eflx\+\_\+gnet, eflx\+\_\+sh\+\_\+tot, eflx\+\_\+lh\+\_\+tot, t\+\_\+ref2m, q\+\_\+ref2m, dtime, watsat, tksatu, tkmg, tkdry, csol, taux, tauy, ram1, z0mg, ustar\+\_\+out, errmsg, errflg, xlat\+\_\+d, xlon\+\_\+d)
\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ae43526b91157fb0eb0769fe727f708c6_ae43526b91157fb0eb0769fe727f708c6}{shallakefluxes}} (forc\+\_\+t, forc\+\_\+pbot, forc\+\_\+psrf, forc\+\_\+hgt, forc\+\_\+hgt\+\_\+q, forc\+\_\+hgt\+\_\+t, forc\+\_\+hgt\+\_\+u, forc\+\_\+q, forc\+\_\+u, forc\+\_\+v, forc\+\_\+lwrad, forc\+\_\+snow, forc\+\_\+rain, t\+\_\+grnd, h2osno, snowdp, sabg, lat, dz, dz\+\_\+lake, t\+\_\+soisno, t\+\_\+lake, snl, h2osoi\+\_\+liq, h2osoi\+\_\+ice, savedtke1, qflx\+\_\+prec\+\_\+grnd, qflx\+\_\+evap\+\_\+soi, qflx\+\_\+evap\+\_\+tot, eflx\+\_\+sh\+\_\+grnd, eflx\+\_\+lwrad\+\_\+out, eflx\+\_\+lwrad\+\_\+net, eflx\+\_\+soil\+\_\+grnd, eflx\+\_\+sh\+\_\+tot, eflx\+\_\+lh\+\_\+tot, eflx\+\_\+lh\+\_\+grnd, t\+\_\+veg, t\+\_\+ref2m, q\+\_\+ref2m, taux, tauy, ram1, ws, ks, eflx\+\_\+gnet, z0mg, ustar\+\_\+out, errmsg, errflg, xlat\+\_\+d, xlon\+\_\+d)
\begin{DoxyCompactList}\small\item\em Calculates lake temperatures and surface fluxes for shallow lakes. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_a303d8855b46b75b0cbe1ce18be6407b7_a303d8855b46b75b0cbe1ce18be6407b7}{shallaketemperature}} (t\+\_\+grnd, h2osno, sabg, dz, dz\+\_\+lake, z, zi, z\+\_\+lake, ws, ks, snl, eflx\+\_\+gnet, lakedepth, lake\+\_\+icefrac, snowdp, eflx\+\_\+sh\+\_\+grnd, eflx\+\_\+sh\+\_\+tot, eflx\+\_\+soil\+\_\+grnd, t\+\_\+lake, t\+\_\+soisno, h2osoi\+\_\+liq, h2osoi\+\_\+ice, savedtke1, watsat, tksatu, tkmg, tkdry, csol, dtime, frac\+\_\+iceold, qflx\+\_\+snomelt, imelt, errmsg, errflg)
\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_af23692ae185eeb3cde51c989c4f4cc2f_af23692ae185eeb3cde51c989c4f4cc2f}{soilthermprop\+\_\+lake}} (snl, dz, zi, z, t\+\_\+soisno, h2osoi\+\_\+liq, h2osoi\+\_\+ice, watsat, tksatu, tkmg, tkdry, csol, tk, cv, tktopsoillay, errmsg, errflg)
\begin{DoxyCompactList}\small\item\em Calculation of thermal conductivities and heat capacities of snow/soil layers ~\newline
 (1) The volumetric heat capacity is calculated as a linear combination in terms of the volumetric fraction of the constituent phases. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_acbf73d26ff8d333240b46663ba694c88_acbf73d26ff8d333240b46663ba694c88}{phasechange\+\_\+lake}} (snl, h2osno, dz, dz\+\_\+lake, t\+\_\+soisno, h2osoi\+\_\+liq, h2osoi\+\_\+ice, lake\+\_\+icefrac, t\+\_\+lake, snowdp, qflx\+\_\+snomelt, eflx\+\_\+snomelt, imelt, cv, cv\+\_\+lake, lhabs)
\begin{DoxyCompactList}\small\item\em Calculation of the phase change within snow, soil, \& lake layers\+: ~\newline
 (1) Check the conditions for which the phase change may take place, i.\+e., the layer temperature is greater than the freezing point and the ice mass is not equal to zero (i.\+e. melting), ~\newline
 or the layer temperature is less than the freezing point ~\newline
 and the liquid water mass is greater than the allowable supercooled (i.\+e. freezing). ~\newline
 (2) Assess the amount of phase change from the energy excess (or deficit) after setting the layer temperature to freezing point, depending on how much water or ice is available. ~\newline
 (3) Re-\/adjust the ice and liquid mass, and the layer temperature\+: either to the freezing point if enough water or ice is available to fully compensate, or to a remaining temperature. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_a8880c2394213f41e2e8303f2fa89ed61_a8880c2394213f41e2e8303f2fa89ed61}{shallakehydrology}} (dz\+\_\+lake, forc\+\_\+rain, forc\+\_\+snow, begwb, qflx\+\_\+evap\+\_\+tot, forc\+\_\+t, do\+\_\+capsnow, t\+\_\+grnd, qflx\+\_\+evap\+\_\+soi, qflx\+\_\+snomelt, imelt, frac\+\_\+iceold, z, dz, zi, snl, h2osno, snowdp, lake\+\_\+icefrac, t\+\_\+lake, endwb, snowage, snowice, snowliq, t\+\_\+snow, t\+\_\+soisno, h2osoi\+\_\+ice, h2osoi\+\_\+liq, h2osoi\+\_\+vol, qflx\+\_\+drain, qflx\+\_\+surf, qflx\+\_\+infl, qflx\+\_\+qrgwl, qcharge, qflx\+\_\+prec\+\_\+grnd, qflx\+\_\+snowcap, qflx\+\_\+snowcap\+\_\+col, qflx\+\_\+snow\+\_\+grnd\+\_\+pft, qflx\+\_\+snow\+\_\+grnd\+\_\+col, qflx\+\_\+rain\+\_\+grnd, qflx\+\_\+evap\+\_\+tot\+\_\+col, soilalpha, zwt, fcov, rootr\+\_\+column, qflx\+\_\+evap\+\_\+grnd, qflx\+\_\+sub\+\_\+snow, qflx\+\_\+dew\+\_\+snow, qflx\+\_\+dew\+\_\+grnd, qflx\+\_\+rain\+\_\+grnd\+\_\+col, watsat, tksatu, tkmg, tkdry, csol, dtime, errmsg, errflg)
\begin{DoxyCompactList}\small\item\em Calculation of Shallow Lake Hydrology. Full hydrology of snow layers is done. However, there is no infiltration, and the water budget is balanced with qflx\+\_\+qrgwl. Lake water mass is kept constant. The soil is simply maintained at volumetric saturation if ice melting frees up pore space. Likewise, if the water portion alone at some point exceeds pore capacity, it is reduced. This is consistent with the possibility of initializing the soil layer with excess ice. The only real error with that is that the thermal conductivity will ignore the excess ice (and accompanying thickness change). \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_a2530111bde53af08c5a27bb394e204d6_a2530111bde53af08c5a27bb394e204d6}{qsat}} (T, p, es, esdT, qs, qsdT)
\begin{DoxyCompactList}\small\item\em Computes saturation mixing ratio and the change in saturation mixing ratio with respect to temperature. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ada6f05d21d094d9d20ed6e0bd851a3fa_ada6f05d21d094d9d20ed6e0bd851a3fa}{tridiagonal}} (\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}, \mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}, lbj, ubj, jtop, numf, filter, a, b, c, r, u)
\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_a609169984304672f7d79d1548c1b1915_a609169984304672f7d79d1548c1b1915}{snowwater}} (\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}, \mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}, num\+\_\+snowc, filter\+\_\+snowc, num\+\_\+nosnowc, filter\+\_\+nosnowc, snl, do\+\_\+capsnow, qflx\+\_\+snomelt, qflx\+\_\+rain\+\_\+grnd, qflx\+\_\+sub\+\_\+snow, qflx\+\_\+evap\+\_\+grnd, qflx\+\_\+dew\+\_\+snow, qflx\+\_\+dew\+\_\+grnd, dz, dtime, h2osoi\+\_\+ice, h2osoi\+\_\+liq, qflx\+\_\+top\+\_\+soil)
\begin{DoxyCompactList}\small\item\em Evaluate the change of snow mass and the snow water onto soil. Water flow within snow is computed by an explicit and non-\/physical based scheme, which permits a part of liquid water over the holding capacity (a tentative value is used, i.\+e. equal to 0.\+033$\ast$porosity) to percolate into the underlying layer. Except for cases where the porosity of one of the two neighboring layers is less than 0.\+05, zero flow is assumed. The water flow out of the bottom of the snow pack will participate as the input of the soil water and runoff. This subroutine uses a filter for columns containing snow which must be constructed prior to being called. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_a7e4351e30556eab9c9b6b1cdd4e4b0a1_a7e4351e30556eab9c9b6b1cdd4e4b0a1}{snowcompaction}} (\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}, \mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}, num\+\_\+snowc, filter\+\_\+snowc, snl, imelt, frac\+\_\+iceold, t\+\_\+soisno, h2osoi\+\_\+ice, h2osoi\+\_\+liq, dtime, dz)
\begin{DoxyCompactList}\small\item\em Determine the change in snow layer thickness due to compaction and settling. Three metamorphisms of changing snow characteristics are implemented, i.\+e., destructive, overburden, and melt. The treatments of the former two are from SNTHERM.\+89 and SNTHERM.\+99 (1991, 1999). The contribution due to melt metamorphism is simply taken as a ratio of snow ice fraction after the melting versus before the melting. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ac447acc162cd004682d862ea627caf4d_ac447acc162cd004682d862ea627caf4d}{combinesnowlayers}} (\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}, \mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}, num\+\_\+snowc, filter\+\_\+snowc, snl, h2osno, snowdp, dz, zi, t\+\_\+soisno, h2osoi\+\_\+ice, h2osoi\+\_\+liq, z)
\begin{DoxyCompactList}\small\item\em Combine snow layers that are less than a minimum thickness or mass If the snow element thickness or mass is less than a prescribed minimum, then it is combined with a neighboring element. ~\newline
 \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_acf8bb476b784cdc2fb82a0a387e3de9f_acf8bb476b784cdc2fb82a0a387e3de9f}{dividesnowlayers}} (\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}, \mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}, num\+\_\+snowc, filter\+\_\+snowc, snl, dz, zi, t\+\_\+soisno, h2osoi\+\_\+ice, h2osoi\+\_\+liq, z)
\begin{DoxyCompactList}\small\item\em Subdivides snow layers if they exceed their prescribed maximum thickness. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ab2c7929acc83c14dffda15a02c6ad9ff_ab2c7929acc83c14dffda15a02c6ad9ff}{combo}} (dz, wliq, wice, t, dz2, wliq2, wice2, t2)
\begin{DoxyCompactList}\small\item\em Combines two elements and returns the following combined variables\+: dz, t, wliq, wice. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ae4e6f20236e7a2ac042d8886b118dcc5_ae4e6f20236e7a2ac042d8886b118dcc5}{buildsnowfilter}} (\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}, \mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}, num\+\_\+nolakec, filter\+\_\+nolakec, snl, num\+\_\+snowc, filter\+\_\+snowc, num\+\_\+nosnowc, filter\+\_\+nosnowc)
\begin{DoxyCompactList}\small\item\em Constructs snow filter for use in vectorized loops for snow hydrology. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_a3987b565385d60cb04d81ca3177463d6_a3987b565385d60cb04d81ca3177463d6}{frictionvelocity}} (\mbox{\hyperlink{namespaceclm__lake_a1e4650464f2edc0f70ef2dc4a6e71c1b_a1e4650464f2edc0f70ef2dc4a6e71c1b}{pgridcell}}, forc\+\_\+hgt, forc\+\_\+hgt\+\_\+u, forc\+\_\+hgt\+\_\+t, forc\+\_\+hgt\+\_\+q, \mbox{\hyperlink{namespaceclm__lake_a9da1b19602efa3d8d0d79b1b1fba30e1_a9da1b19602efa3d8d0d79b1b1fba30e1}{lbp}}, \mbox{\hyperlink{namespaceclm__lake_a8f3bdc0a1d9d31c51f45a72a6999dd41_a8f3bdc0a1d9d31c51f45a72a6999dd41}{ubp}}, fn, filterp, displa, z0m, z0h, z0q, obu, iter, ur, um, ustar, temp1, temp2, temp12m, temp22m, u10, fv, fm)
\begin{DoxyCompactList}\small\item\em Calculation of the friction velocity, relation for potential temperature and humidity profiles of surface boundary layer. ~\newline
 The scheme is based on the work of Zeng et al. (1998)\+: Intercomparison of bulk aerodynamic algorithms for the computation of sea surface fluxes using TOGA CORE and TAO data. J. Climate, Vol. 11, 2628-\/2644. ~\newline
 \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) function \mbox{\hyperlink{namespaceclm__lake_a2218d0d821c15763c34a951747974aaa_a2218d0d821c15763c34a951747974aaa}{stabilityfunc1}} (zeta)
\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) function \mbox{\hyperlink{namespaceclm__lake_a36af92623df1ef147db389224d077a92_a36af92623df1ef147db389224d077a92}{stabilityfunc2}} (zeta)
\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ab4ca44b88aa24015f62195b9591aa8f3_ab4ca44b88aa24015f62195b9591aa8f3}{moninobukini}} (ur, thv, dthv, zldis, z0m, um, obu)
\item 
subroutine, public \mbox{\hyperlink{namespaceclm__lake_aa85e0a789baf16a3fa800917f1e1748a_aa85e0a789baf16a3fa800917f1e1748a}{clm\+\_\+lake\+\_\+init}} (con\+\_\+pi, karman, con\+\_\+g, con\+\_\+sbc, con\+\_\+t0c, rhowater, con\+\_\+csol, con\+\_\+cliq, con\+\_\+hfus, con\+\_\+hvap, con\+\_\+rd, con\+\_\+cp, rholakeice, clm\+\_\+lake\+\_\+debug, con\+\_\+eps\+\_\+model, con\+\_\+fvirt\+\_\+model, errmsg, errflg)
\item 
subroutine \mbox{\hyperlink{namespaceclm__lake_ac954e796a555e34bf0495af3f4645a48_ac954e796a555e34bf0495af3f4645a48}{lakeini}} (kdt, ISLTYP, gt0, snowd, weasd, lakedepth\+\_\+default, fhour, oro\+\_\+lakedepth, savedtke12d, snowdp2d, h2osno2d, snl2d, t\+\_\+grnd2d, t\+\_\+lake3d, lake\+\_\+icefrac3d, z\+\_\+lake3d, dz\+\_\+lake3d, t\+\_\+soisno3d, h2osoi\+\_\+ice3d, h2osoi\+\_\+liq3d, h2osoi\+\_\+vol3d, z3d, dz3d, zi3d, watsat3d, csol3d, tkmg3d, fice, min\+\_\+lakeice, tsfc, use\+\_\+lake\+\_\+model, use\+\_\+lakedepth, tkdry3d, tksatu3d, im, prsi, xlat\+\_\+d, xlon\+\_\+d, clm\+\_\+lake\+\_\+initialized, sand3d, clay3d, tg3, clm\+\_\+lakedepth, km, me, master, errmsg, errflg)
\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
integer, parameter, public \mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}} = kind\+\_\+dbl\+\_\+prec
\item 
logical, public \mbox{\hyperlink{namespaceclm__lake_aba9d5338cde19843602bcee5fe662b63_aba9d5338cde19843602bcee5fe662b63}{lakedebug}} = .false.
\item 
logical, parameter \mbox{\hyperlink{namespaceclm__lake_a9200c35a3bf27039d3fb8b09e2abb6b6_a9200c35a3bf27039d3fb8b09e2abb6b6}{pergro}} = .false.
\item 
logical, parameter \mbox{\hyperlink{namespaceclm__lake_a723331d7d636d13063effccd4fc74671_a723331d7d636d13063effccd4fc74671}{use\+\_\+etalake}} = .false.
\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_ae784eafab47c780547ea5a7e20c99836_ae784eafab47c780547ea5a7e20c99836}{etalake}} = 1.\+1925$\ast$50$\ast$$\ast$(-\/0.\+424)
\begin{DoxyCompactList}\small\item\em Set this to your desired value if USE\+\_\+\+ETALAKE=.true. \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} = 10
\begin{DoxyCompactList}\small\item\em number of soil layers \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}} = 10
\begin{DoxyCompactList}\small\item\em number of lake layers \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}} = 5
\begin{DoxyCompactList}\small\item\em maximum number of snow layers \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_a0a5916608cff6a4a7a806a14d1e368b8_a0a5916608cff6a4a7a806a14d1e368b8}{scalez}} = 0.\+025\+\_\+kind\+\_\+lake
\begin{DoxyCompactList}\small\item\em Soil layer thickness discretization (m) \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a9da1b19602efa3d8d0d79b1b1fba30e1_a9da1b19602efa3d8d0d79b1b1fba30e1}{lbp}} = 1
\begin{DoxyCompactList}\small\item\em pft-\/index bounds \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a8f3bdc0a1d9d31c51f45a72a6999dd41_a8f3bdc0a1d9d31c51f45a72a6999dd41}{ubp}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}} = 1
\begin{DoxyCompactList}\small\item\em column-\/index bounds \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a72221e9f88d4fb83394146b4b0f5d72e_a72221e9f88d4fb83394146b4b0f5d72e}{num\+\_\+shlakec}} = 1
\begin{DoxyCompactList}\small\item\em number of columns in lake filter \end{DoxyCompactList}\item 
integer, dimension(1), parameter \mbox{\hyperlink{namespaceclm__lake_a760b2fea007cadeb65b88dd6fa49dd70_a760b2fea007cadeb65b88dd6fa49dd70}{filter\+\_\+shlakec}} = 1
\begin{DoxyCompactList}\small\item\em lake filter (columns) \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a6008e16ba689ccb8b980e15bbed3f3a3_a6008e16ba689ccb8b980e15bbed3f3a3}{num\+\_\+shlakep}} = 1
\begin{DoxyCompactList}\small\item\em number of pfts in lake filter \end{DoxyCompactList}\item 
integer, dimension(1), parameter \mbox{\hyperlink{namespaceclm__lake_abae2104f594b0f18ec7ee22a8c43f359_abae2104f594b0f18ec7ee22a8c43f359}{filter\+\_\+shlakep}} = 1
\begin{DoxyCompactList}\small\item\em lake filter (pfts) \end{DoxyCompactList}\item 
integer, dimension(1), parameter \mbox{\hyperlink{namespaceclm__lake_a6a97aa42f4c0f1fb254f1785b183e63f_a6a97aa42f4c0f1fb254f1785b183e63f}{pcolumn}} = 1
\item 
integer, dimension(1), parameter \mbox{\hyperlink{namespaceclm__lake_a1e4650464f2edc0f70ef2dc4a6e71c1b_a1e4650464f2edc0f70ef2dc4a6e71c1b}{pgridcell}} = 1
\item 
integer, dimension(1), parameter \mbox{\hyperlink{namespaceclm__lake_a3c5c0e4decb0dc204c0e616998560ab2_a3c5c0e4decb0dc204c0e616998560ab2}{cgridcell}} = 1
\begin{DoxyCompactList}\small\item\em gridcell index of column \end{DoxyCompactList}\item 
integer, dimension(1), parameter \mbox{\hyperlink{namespaceclm__lake_a7fe1cfc979b58b8595ac68a2ec55c7e5_a7fe1cfc979b58b8595ac68a2ec55c7e5}{clandunit}} = 1
\begin{DoxyCompactList}\small\item\em landunit index of column \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a97398a9f01acec1151acb6c5d2695e0e_a97398a9f01acec1151acb6c5d2695e0e}{begg}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a354e0f8f839b5815ffdb618dd8f41fa7_a354e0f8f839b5815ffdb618dd8f41fa7}{endg}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_aa37dbdefe9fb9f56efb0272b362aded6_aa37dbdefe9fb9f56efb0272b362aded6}{begl}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a5f9283920812dc4f6ed8e87f8c0114cc_a5f9283920812dc4f6ed8e87f8c0114cc}{endl}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_ad8ff83d32edd7662ce768baca4b7d053_ad8ff83d32edd7662ce768baca4b7d053}{begc}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a66203b5743d25888537d07c67c67ab25_a66203b5743d25888537d07c67c67ab25}{endc}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a10eca1142e1656cfc3c2327828ef3b8e_a10eca1142e1656cfc3c2327828ef3b8e}{begp}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a37d75928d1488dd50f47682ff5e5ca5d_a37d75928d1488dd50f47682ff5e5ca5d}{endp}} = 1
\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a934f47a1f86f5538e09a0a3558e9b9c7_a934f47a1f86f5538e09a0a3558e9b9c7}{column}} =1
\item 
logical, dimension(1), parameter \mbox{\hyperlink{namespaceclm__lake_af9529d02d589bb6170be8e9994be1c6a_af9529d02d589bb6170be8e9994be1c6a}{lakpoi}} = .true.
\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_a6bb4b28b05c2df6aa1f2f4396046899e_a6bb4b28b05c2df6aa1f2f4396046899e}{tcrit}} = 2.\+5
\begin{DoxyCompactList}\small\item\em critical temperature to determine rain or snow \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_a365dcd933ca86f9e41d0f993fb1b900e_a365dcd933ca86f9e41d0f993fb1b900e}{tkwat}} = 0.\+6
\begin{DoxyCompactList}\small\item\em thermal conductivity of water \mbox{[}W/m/k\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_acc8c6644179b63f24ddf4856f87cb9d1_acc8c6644179b63f24ddf4856f87cb9d1}{tkice}} = 2.\+290
\begin{DoxyCompactList}\small\item\em thermal conductivity of ice \mbox{[}W/m/k\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_afdca3ceec17b8711dd20d14ae8135289_afdca3ceec17b8711dd20d14ae8135289}{tkairc}} = 0.\+023
\begin{DoxyCompactList}\small\item\em thermal conductivity of air \mbox{[}W/m/k\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_a74b1f87f7dec69f5f1a61a7ecb0b1364_a74b1f87f7dec69f5f1a61a7ecb0b1364}{snow\+\_\+bd}} = 250
\begin{DoxyCompactList}\small\item\em constant snow bulk density (only used in special case here) \mbox{[}kg/m$^\wedge$3\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_abad43d83568f0f1e938ec2e5f7158537_abad43d83568f0f1e938ec2e5f7158537}{pi}}
\begin{DoxyCompactList}\small\item\em ratio of the circumference of a circle to its diameter \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a52ab2a2d6e5349079033817f647dfb3e_a52ab2a2d6e5349079033817f647dfb3e}{vkc}}
\begin{DoxyCompactList}\small\item\em von Karman constant \mbox{[}-\/\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_af7b0b4edad2328e14d8f105c5bdd3d8c_af7b0b4edad2328e14d8f105c5bdd3d8c}{grav}}
\begin{DoxyCompactList}\small\item\em gravity constant \mbox{[}m/s2\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_ab05a492acbc4fc3c791d69df3c2f81ce_ab05a492acbc4fc3c791d69df3c2f81ce}{sb}}
\begin{DoxyCompactList}\small\item\em stefan-\/boltzmann constant \mbox{[}W/m2/\+K4\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_aad26ad6ec4098f3e0a18fab4ba092d7f_aad26ad6ec4098f3e0a18fab4ba092d7f}{tfrz}}
\begin{DoxyCompactList}\small\item\em freezing temperature \mbox{[}K\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a8a016fd3d56fd17fb0dc54dceb23fe89_a8a016fd3d56fd17fb0dc54dceb23fe89}{denh2o}}
\begin{DoxyCompactList}\small\item\em density of liquid water \mbox{[}kg/m3\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_acf2ec0f47557c38a231808b9d6b48a1a_acf2ec0f47557c38a231808b9d6b48a1a}{denice}}
\begin{DoxyCompactList}\small\item\em density of ice \mbox{[}kg/m3\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_ab9a94c1010ec5a186d87d6a8927c24c8_ab9a94c1010ec5a186d87d6a8927c24c8}{cpice}}
\begin{DoxyCompactList}\small\item\em Specific heat of ice \mbox{[}J/kg-\/K\mbox{]}. \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a06395ef2f6cd444ace77c129b4bdcded_a06395ef2f6cd444ace77c129b4bdcded}{cpliq}}
\begin{DoxyCompactList}\small\item\em Specific heat of water \mbox{[}J/kg-\/K\mbox{]}. \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a11f6915733a310b7a5b10d2a22b56a98_a11f6915733a310b7a5b10d2a22b56a98}{hfus}}
\begin{DoxyCompactList}\small\item\em Latent heat of fusion for ice \mbox{[}J/kg\mbox{]}. \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a58573f58d4f34a40d3a49451a1aa01a7_a58573f58d4f34a40d3a49451a1aa01a7}{hvap}}
\begin{DoxyCompactList}\small\item\em Latent heat of evap for water \mbox{[}J/kg\mbox{]}. \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a3679f49be967804cf8a63654c35448d3_a3679f49be967804cf8a63654c35448d3}{hsub}}
\begin{DoxyCompactList}\small\item\em Latent heat of sublimation \mbox{[}J/kg\mbox{]}. \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_ad49f85055cd9c19709748f4a23e5e935_ad49f85055cd9c19709748f4a23e5e935}{invhvap}}
\begin{DoxyCompactList}\small\item\em 1/hvap \mbox{[}kg/J\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_af4301a526233f3a82599fe54cdb2d978_af4301a526233f3a82599fe54cdb2d978}{invhsub}}
\begin{DoxyCompactList}\small\item\em 1/hsub \mbox{[}kg/J\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a8037e9dedacdc3de509a07bb64ae6888_a8037e9dedacdc3de509a07bb64ae6888}{rair}}
\begin{DoxyCompactList}\small\item\em gas constant for dry air \mbox{[}J/kg/K\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a7170735216051aad78d2dd134a877f28_a7170735216051aad78d2dd134a877f28}{cpair}}
\begin{DoxyCompactList}\small\item\em specific heat of dry air \mbox{[}J/kg/K\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a3fac244fe0b15259e7c5a356e789c4cf_a3fac244fe0b15259e7c5a356e789c4cf}{con\+\_\+eps}}
\begin{DoxyCompactList}\small\item\em ratio of gas constants of air and water vapor \mbox{[}unitless\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_a2de62b5c8f337db5f6167f906b03fe7e_a2de62b5c8f337db5f6167f906b03fe7e}{one\+\_\+minus\+\_\+con\+\_\+eps}}
\begin{DoxyCompactList}\small\item\em 1 -\/ con\+\_\+eps \mbox{[}unitless\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) \mbox{\hyperlink{namespaceclm__lake_af248577ddf1ed21ea07bd4fac4389f2a_af248577ddf1ed21ea07bd4fac4389f2a}{con\+\_\+fvirt}}
\begin{DoxyCompactList}\small\item\em 1/con\+\_\+eps -\/ 1 \mbox{[}unitless\mbox{]} \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter, public \mbox{\hyperlink{namespaceclm__lake_ae2ab76d5917aa2c84d4f5ca2e70a43f6_ae2ab76d5917aa2c84d4f5ca2e70a43f6}{spval}} = 1.e36
\begin{DoxyCompactList}\small\item\em special value for missing data (ocean) \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_a6ebc870fb8193360558d563c892581c1_a6ebc870fb8193360558d563c892581c1}{depth\+\_\+c}} = 50.
\begin{DoxyCompactList}\small\item\em below the level t\+\_\+lake3d will be 277.\+0 !mchen \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_adfcb6f4aa3976cbc8957f61f8f0a2fb0_adfcb6f4aa3976cbc8957f61f8f0a2fb0}{zero\+\_\+h2o}} = 1e-\/12
\begin{DoxyCompactList}\small\item\em lower mixing ratio is is treated as zero \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_a2995fca78b6dd742076e5fc05f7e125f_a2995fca78b6dd742076e5fc05f7e125f}{wimp}} = 0.\+05
\begin{DoxyCompactList}\small\item\em Water impermeable if porosity less than wimp. \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_a659fdd131d92d0ebd5e32b1ffe2fb989_a659fdd131d92d0ebd5e32b1ffe2fb989}{ssi}} = 0.\+033
\begin{DoxyCompactList}\small\item\em Irreducible water saturation of snow. \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter \mbox{\hyperlink{namespaceclm__lake_acea160cb5ef1cf3ff319272727ca8d0f_acea160cb5ef1cf3ff319272727ca8d0f}{cnfac}} = 0.\+5
\begin{DoxyCompactList}\small\item\em Crank Nicholson factor between 0 and 1. \end{DoxyCompactList}\item 
integer, parameter \mbox{\hyperlink{namespaceclm__lake_a053fff2d9b5846a1fb92d11363c4de1f_a053fff2d9b5846a1fb92d11363c4de1f}{istsoil}} = 1
\begin{DoxyCompactList}\small\item\em !soil \char`\"{}water\char`\"{} type \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(19), parameter \mbox{\hyperlink{namespaceclm__lake_af8e43865b4193c8054259f04505fe69c_af8e43865b4193c8054259f04505fe69c}{sand}} = (/92.,80.,66.,20.,5.,43.,60.,10.,32.,51., 6.,22.,39.\+7,0.,100.,54.,17.,100.,92./)
\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(19), parameter \mbox{\hyperlink{namespaceclm__lake_ad8dffa65f4ea44f68bb15524ef9de9a2_ad8dffa65f4ea44f68bb15524ef9de9a2}{clay}} = (/ 3., 5.,10.,15.,5.,18.,27.,33.,33.,41.,47.,58.,14.\+7,0., 0., 8.\+5,54., 0., 3./)
\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}) \mbox{\hyperlink{namespaceclm__lake_a8f0eea6d1129080dcf5607a1f00f6c20_a8f0eea6d1129080dcf5607a1f00f6c20}{zlak}}
\begin{DoxyCompactList}\small\item\em lake z (layers) \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}) \mbox{\hyperlink{namespaceclm__lake_a6211ddac2ef19e0c2b92f7f9ce4d8ec6_a6211ddac2ef19e0c2b92f7f9ce4d8ec6}{dzlak}}
\begin{DoxyCompactList}\small\item\em lake dz (thickness) \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}) \mbox{\hyperlink{namespaceclm__lake_a0fc819a9aa7a9b11885ce4dbaa685884_a0fc819a9aa7a9b11885ce4dbaa685884}{zsoi}}
\begin{DoxyCompactList}\small\item\em soil z (layers) \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}) \mbox{\hyperlink{namespaceclm__lake_a1b00598bdb5ccd040fca5053c353a4a9_a1b00598bdb5ccd040fca5053c353a4a9}{dzsoi}}
\begin{DoxyCompactList}\small\item\em soil dz (thickness) \end{DoxyCompactList}\item 
real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}) \mbox{\hyperlink{namespaceclm__lake_a39381bf128f151ce5c8b869f0acce991_a39381bf128f151ce5c8b869f0acce991}{zisoi}}
\begin{DoxyCompactList}\small\item\em soil zi (interfaces) ~\newline
 \end{DoxyCompactList}\item 
real, dimension(1\+:25), parameter \mbox{\hyperlink{namespaceclm__lake_a3922db70cf29a1f55d77d3d86b91dc48_a3922db70cf29a1f55d77d3d86b91dc48}{saltlk\+\_\+t}} = (/ 0.\+5, 0.,-\/0.\+5, 3., 4., 7., 8., 12., 13., 16., 19., 21., 23.\+5, 25., 26.,24.,23.,20.\+5,18., 15., 11.\+5, 8., 4., 1., 0.\+5/)
\item 
real, dimension(12), parameter \mbox{\hyperlink{namespaceclm__lake_aede6513fda19d929a92a85971029c757_aede6513fda19d929a92a85971029c757}{month\+\_\+length}} = (/ 31, 29, 31, 30, 31, 30, 31, 30, 30, 31, 30, 31 /)
\item 
logical, parameter \mbox{\hyperlink{namespaceclm__lake_a219e646e39eb849c33e3137355fd5c12_a219e646e39eb849c33e3137355fd5c12}{include\+\_\+all\+\_\+salty\+\_\+locations}} = .false.
\end{DoxyCompactItemize}


\doxysubsubsection{Function/\+Subroutine Documentation}
\mbox{\Hypertarget{namespaceclm__lake_ad415a439ef667391595b8c68bb31b819_ad415a439ef667391595b8c68bb31b819}\label{namespaceclm__lake_ad415a439ef667391595b8c68bb31b819_ad415a439ef667391595b8c68bb31b819}} 
\index{clm\_lake@{clm\_lake}!limit\_temperature\_by\_climatology@{limit\_temperature\_by\_climatology}}
\index{limit\_temperature\_by\_climatology@{limit\_temperature\_by\_climatology}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{limit\_temperature\_by\_climatology()}{limit\_temperature\_by\_climatology()}}
{\footnotesize\ttfamily logical function clm\+\_\+lake\+::limit\+\_\+temperature\+\_\+by\+\_\+climatology (\begin{DoxyParamCaption}\item[{real(kind\+\_\+phys), intent(in)}]{xlat\+\_\+d,  }\item[{real(kind\+\_\+phys), intent(in)}]{xlon\+\_\+positive }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

tgs -\/ 7nov19 -\/ salinity effect on freezing point (Tanya, Stan, Trevor). The Great Salt Lake (GSL), Utah lat/long (39.\+5-\/42.\+0,-\/111.\+5-\/ -\/117.\+7). The GSL\textquotesingle{}s salinity is 270 ppt above $\sim$41.22 N with freezing point of -\/24 C, and 150 ppt south of $\sim$41.22 N with freezing point -\/10 C (info from Trevor Alcott). The fresh-\/water Willard Bay should be excluded from the box around the Great Salt Lake\+: lat/long 41.\+3539, -\/112.\+102, HRRR i,j = 494,667 (info from Stan and Trevor).

1jun2020\+: reset the GSL freezing point to be -\/5 C, and add a check (after call to Lake\+Main) to keep the lake ice free for the whole year.\mbox{\Hypertarget{namespaceclm__lake_a8277cbe815e5f397427775563aa4f398_a8277cbe815e5f397427775563aa4f398}\label{namespaceclm__lake_a8277cbe815e5f397427775563aa4f398_a8277cbe815e5f397427775563aa4f398}} 
\index{clm\_lake@{clm\_lake}!is\_salty@{is\_salty}}
\index{is\_salty@{is\_salty}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{is\_salty()}{is\_salty()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::is\+\_\+salty (\begin{DoxyParamCaption}\item[{real(kind\+\_\+phys), intent(in)}]{xlat\+\_\+d,  }\item[{real(kind\+\_\+phys), intent(in)}]{xlon\+\_\+positive,  }\item[{logical, intent(inout)}]{cannot\+\_\+freeze,  }\item[{logical, intent(inout)}]{salty }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a4706cf49d81edb2cd2d94e4d6cbe2b13_a4706cf49d81edb2cd2d94e4d6cbe2b13}\label{namespaceclm__lake_a4706cf49d81edb2cd2d94e4d6cbe2b13_a4706cf49d81edb2cd2d94e4d6cbe2b13}} 
\index{clm\_lake@{clm\_lake}!clm\_lake\_run@{clm\_lake\_run}}
\index{clm\_lake\_run@{clm\_lake\_run}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{clm\_lake\_run()}{clm\_lake\_run()}}
{\footnotesize\ttfamily subroutine, public clm\+\_\+lake\+::clm\+\_\+lake\+\_\+run (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{im,  }\item[{integer, intent(in)}]{km,  }\item[{integer, intent(in)}]{me,  }\item[{integer, intent(in)}]{master,  }\item[{real(kind\+\_\+phys), intent(in)}]{fhour,  }\item[{integer, dimension(4), intent(in)}]{IDATE,  }\item[{integer, intent(in)}]{kdt,  }\item[{integer, intent(in)}]{iopt\+\_\+lake,  }\item[{integer, intent(in)}]{iopt\+\_\+lake\+\_\+clm,  }\item[{real(kind\+\_\+phys), intent(in)}]{min\+\_\+lakeice,  }\item[{real(kind\+\_\+phys), intent(in)}]{lakedepth\+\_\+default,  }\item[{logical, intent(in)}]{use\+\_\+lakedepth,  }\item[{real(kind\+\_\+phys), intent(in)}]{dtp,  }\item[{integer, dimension(\+:), intent(in)}]{use\+\_\+lake\+\_\+model,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{clm\+\_\+lake\+\_\+initialized,  }\item[{logical, intent(in)}]{frac\+\_\+grid,  }\item[{logical, intent(in)}]{frac\+\_\+ice,  }\item[{integer, intent(in)}]{lkm,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{tg3,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{pgr,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{zlvl,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{gt0,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{prsi,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{phii,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{qvcurr,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{gu0,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{gv0,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{xlat\+\_\+d,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{xlon\+\_\+d,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{ch,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{cm,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{dlwsfci,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{dswsfci,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{oro\+\_\+lakedepth,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{wind,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{rho0,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{tsfc,  }\item[{logical, dimension(\+:), intent(in)}]{flag\+\_\+iter,  }\item[{integer, dimension(\+:), intent(in)}]{ISLTYP,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{rainncprv,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{raincprv,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{evap\+\_\+wat,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{evap\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{hflx\+\_\+wat,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{hflx\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{gflx\+\_\+wat,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{gflx\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{ep1d\+\_\+water,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{ep1d\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{tsurf\+\_\+water,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{tsurf\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{tsfc\+\_\+wat,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{tisfc,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{weasdi,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{snodi,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{hice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{qss\+\_\+water,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{qss\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{cmm\+\_\+water,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{cmm\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{chh\+\_\+water,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{chh\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{uustar\+\_\+water,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{uustar\+\_\+ice,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{lake\+\_\+t\+\_\+snow,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{albedo,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{zorlw,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{zorli,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{lake\+\_\+t2m,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{lake\+\_\+q2m,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{weasd,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{snowd,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{fice,  }\item[{logical, dimension(\+:), intent(inout)}]{icy,  }\item[{integer, dimension( \+: ), intent(inout)}]{salty,  }\item[{real(kind\+\_\+phys), dimension(\+: ), intent(inout)}]{savedtke12d,  }\item[{real(kind\+\_\+phys), dimension(\+: ), intent(inout)}]{snowdp2d,  }\item[{real(kind\+\_\+phys), dimension(\+: ), intent(inout)}]{h2osno2d,  }\item[{real(kind\+\_\+phys), dimension(\+: ), intent(inout)}]{snl2d,  }\item[{real(kind\+\_\+phys), dimension(\+: ), intent(inout)}]{t\+\_\+grnd2d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{t\+\_\+lake3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{lake\+\_\+icefrac3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+: ), intent(inout)}]{t\+\_\+soisno3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+: ), intent(inout)}]{h2osoi\+\_\+ice3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+: ), intent(inout)}]{h2osoi\+\_\+liq3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+: ), intent(inout)}]{h2osoi\+\_\+vol3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+: ), intent(inout)}]{z3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+: ), intent(inout)}]{dz3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+: ), intent(inout)}]{zi3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{z\+\_\+lake3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{dz\+\_\+lake3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{watsat3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{csol3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{sand3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{clay3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{tkmg3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{tkdry3d,  }\item[{real(kind\+\_\+phys), dimension( \+:,\+: ), intent(inout)}]{tksatu3d,  }\item[{real(kind\+\_\+phys), dimension( \+: ), intent(inout)}]{clm\+\_\+lakedepth,  }\item[{integer, dimension( \+: ), intent(inout)}]{cannot\+\_\+freeze,  }\item[{integer, intent(out)}]{errflg,  }\item[{character($\ast$), intent(out)}]{errmsg }\end{DoxyParamCaption})}

\hypertarget{namespaceclm__lake_a4706cf49d81edb2cd2d94e4d6cbe2b13_arg_table_clm_lake_run}{}\doxysubsubsection{Argument Table}\label{namespaceclm__lake_a4706cf49d81edb2cd2d94e4d6cbe2b13_arg_table_clm_lake_run}
 \mbox{\Hypertarget{namespaceclm__lake_ad11c9e87b1be147aa2076463a7ee3dfc_ad11c9e87b1be147aa2076463a7ee3dfc}\label{namespaceclm__lake_ad11c9e87b1be147aa2076463a7ee3dfc_ad11c9e87b1be147aa2076463a7ee3dfc}} 
\index{clm\_lake@{clm\_lake}!lakemain@{lakemain}}
\index{lakemain@{lakemain}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{lakemain()}{lakemain()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::lakemain (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+t,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+pbot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+psrf,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+q,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+t,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+u,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+q,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+u,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+v,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+lwrad,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{prec,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{sabg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{lat,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{z\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{dz\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{lakedepth,  }\item[{logical, dimension(1), intent(in)}]{do\+\_\+capsnow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{h2osno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{snowdp,  }\item[{integer, dimension(1), intent(inout)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{z,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{zi,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+vol,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{t\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{t\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{savedtke1,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{lake\+\_\+icefrac,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+lwrad\+\_\+net,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+gnet,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+sh\+\_\+tot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+lh\+\_\+tot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{t\+\_\+ref2m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{q\+\_\+ref2m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{dtime,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{watsat,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tksatu,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tkmg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tkdry,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{csol,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{taux,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{tauy,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{ram1,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{z0mg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{ustar\+\_\+out,  }\item[{character($\ast$), intent(inout)}]{errmsg,  }\item[{integer, intent(inout)}]{errflg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{xlat\+\_\+d,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{xlon\+\_\+d }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em dtime} & timestep\\
\hline
\mbox{\texttt{ in}}  & {\em xlon\+\_\+d} & grid location for debugging\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+t} & atmospheric temperature (Kelvin)\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+pbot} & atm bottom level pressure (Pa)\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+psrf} & atmospheric surface pressure (Pa)\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt} & atmospheric reference height (m)\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+q} & observational height of humidity \mbox{[}m\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+t} & observational height of temperature \mbox{[}m\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+u} & observational height of wind \mbox{[}m\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+q} & atmospheric specific humidity (kg/kg)\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+u} & atmospheric wind speed in east direction (m/s)\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+v} & atmospheric wind speed in north direction (m/s)\\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+lwrad} & downward infrared (longwave) radiation (W/m$\ast$$\ast$2)\\
\hline
\mbox{\texttt{ in}}  & {\em prec} & snow or rain rate \mbox{[}mm/s\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em sabg} & solar radiation absorbed by ground (W/m$\ast$$\ast$2)\\
\hline
\mbox{\texttt{ in}}  & {\em lat} & latitude (radians)\\
\hline
\mbox{\texttt{ in}}  & {\em z\+\_\+lake} & layer depth for lake (m)\\
\hline
\mbox{\texttt{ in}}  & {\em dz\+\_\+lake} & layer thickness for lake (m)\\
\hline
\mbox{\texttt{ out}}  & {\em ustar\+\_\+out} & friction velocity \mbox{[}m/s\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em lakedepth} & column lake depth (m) tep(in),hydro(in)\\
\hline
\mbox{\texttt{ in}}  & {\em do\+\_\+capsnow} & true =\texorpdfstring{$>$}{>} do snow capping\\
\hline
\mbox{\texttt{ in}}  & {\em watsat} & volumetric soil water at saturation (porosity)\\
\hline
\mbox{\texttt{ in}}  & {\em tksatu} & thermal conductivity, saturated soil \mbox{[}W/m-\/K\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em tkmg} & thermal conductivity, soil minerals \mbox{[}W/m-\/K\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em tkdry} & thermal conductivity, dry soil (W/m/\+Kelvin)\\
\hline
\mbox{\texttt{ in}}  & {\em csol} & heat capacity, soil solids (J/m$\ast$$\ast$3/\+Kelvin)\\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+vol} & volumetric soil water (0\texorpdfstring{$<$}{<}=h2osoi\+\_\+vol\texorpdfstring{$<$}{<}=watsat)\mbox{[}m3/m3\mbox{]}\\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+grnd} & ground temperature (Kelvin)\\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osno} & snow water (mm H2O)\\
\hline
\mbox{\texttt{ in,out}}  & {\em snowdp} & snow height (m)\\
\hline
\mbox{\texttt{ in,out}}  & {\em z} & layer depth for snow \& soil (m)\\
\hline
\mbox{\texttt{ in,out}}  & {\em dz} & layer thickness for soil or snow (m)\\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+soisno} & soil (or snow) temperature (Kelvin)\\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+lake} & lake temperature (Kelvin)\\
\hline
\mbox{\texttt{ in,out}}  & {\em snl} & number of snow layers\\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2)\\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2)\\
\hline
\mbox{\texttt{ in,out}}  & {\em savedtke1} & top level eddy conductivity from previous timestep (W/m.\+K)\\
\hline
\mbox{\texttt{ in,out}}  & {\em zi} & interface level below a \char`\"{}z\char`\"{} level (m)\\
\hline
\mbox{\texttt{ in,out}}  & {\em lake\+\_\+icefrac} & mass fraction of lake layer that is frozen\\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+gnet} & net heat flux into ground (W/m$\ast$$\ast$2)\\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+lwrad\+\_\+net} & net infrared (longwave) rad (W/m$\ast$$\ast$2) \mbox{[}+ = to atm\mbox{]}\\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+sh\+\_\+tot} & total sensible heat flux (W/m$\ast$$\ast$2) \mbox{[}+ to atm\mbox{]}\\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+lh\+\_\+tot} & total latent heat flux (W/m8$\ast$2) \mbox{[}+ to atm\mbox{]}\\
\hline
\mbox{\texttt{ out}}  & {\em t\+\_\+ref2m} & 2 m height surface air temperature (Kelvin)\\
\hline
\mbox{\texttt{ out}}  & {\em q\+\_\+ref2m} & 2 m height surface specific humidity (kg/kg)\\
\hline
\mbox{\texttt{ out}}  & {\em taux} & wind (shear) stress\+: e-\/w (kg/m/s$\ast$$\ast$2)\\
\hline
\mbox{\texttt{ out}}  & {\em tauy} & wind (shear) stress\+: n-\/s (kg/m/s$\ast$$\ast$2)\\
\hline
\mbox{\texttt{ out}}  & {\em ram1} & aerodynamical resistance (s/m) for calculation of decay of eddy diffusivity with depth Change the type variable to pass back to WRF.\\
\hline
\mbox{\texttt{ out}}  & {\em z0mg} & roughness length over ground, momentum (m( \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_ae43526b91157fb0eb0769fe727f708c6_ae43526b91157fb0eb0769fe727f708c6}\label{namespaceclm__lake_ae43526b91157fb0eb0769fe727f708c6_ae43526b91157fb0eb0769fe727f708c6}} 
\index{clm\_lake@{clm\_lake}!shallakefluxes@{shallakefluxes}}
\index{shallakefluxes@{shallakefluxes}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{shallakefluxes()}{shallakefluxes()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::shallakefluxes (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+t,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+pbot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+psrf,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+q,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+t,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+u,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+q,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+u,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+v,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+lwrad,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+snow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+rain,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{t\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{h2osno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{snowdp,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{sabg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{lat,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{dz\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{t\+\_\+lake,  }\item[{integer, dimension(1), intent(in)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{savedtke1,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+prec\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+evap\+\_\+soi,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+evap\+\_\+tot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+sh\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+lwrad\+\_\+out,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+lwrad\+\_\+net,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+soil\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+sh\+\_\+tot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+lh\+\_\+tot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+lh\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{t\+\_\+veg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{t\+\_\+ref2m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{q\+\_\+ref2m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{taux,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{tauy,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{ram1,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{ws,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{ks,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+gnet,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{z0mg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{ustar\+\_\+out,  }\item[{character(len=$\ast$), intent(inout)}]{errmsg,  }\item[{integer, intent(inout)}]{errflg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{xlat\+\_\+d,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{xlon\+\_\+d }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

Shallow lakes have variable depth, possible snow layers above, freezing \& thawing of lake water, and soil layers with active temperature and gas diffusion below. ~\newline


WARNING\+: This subroutine assumes lake columns have one and only one pft. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em forc\+\_\+t} & atmospheric temperature (Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+pbot} & atmospheric pressure (Pa) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+psrf} & atmospheric surface pressure (Pa) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt} & atmospheric reference height (m) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+q} & observational height of humidity \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+t} & observational height of temperature \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+u} & observational height of wind \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+q} & atmospheric specific humidity (kg/kg) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+u} & atmospheric wind speed in east direction (m/s) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+v} & atmospheric wind speed in north direction (m/s) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+lwrad} & downward infrared (longwave) radiation (W/m$\ast$$\ast$2) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+snow} & snow rate \mbox{[}mm/s\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+rain} & rain rate \mbox{[}mm/s\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em h2osno} & snow water (mm H2O) \\
\hline
\mbox{\texttt{ in}}  & {\em snowdp} & snow height (m) \\
\hline
\mbox{\texttt{ in}}  & {\em sabg} & solar radiation absorbed by ground (W/m$\ast$$\ast$2) \\
\hline
\mbox{\texttt{ in}}  & {\em lat} & latitude (radians) \\
\hline
\mbox{\texttt{ in}}  & {\em dz} & layer thickness for soil or snow (m) \\
\hline
\mbox{\texttt{ in}}  & {\em dz\+\_\+lake} & layer thickness for lake (m) \\
\hline
\mbox{\texttt{ in}}  & {\em t\+\_\+soisno} & soil (or snow) temperature (Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em t\+\_\+lake} & lake temperature (Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ in}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ in}}  & {\em savedtke1} & top level eddy conductivity from previous timestep (W/m.\+K) \\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+grnd} & ground temperature (Kelvin) \\
\hline
\mbox{\texttt{ out}}  & {\em ustar\+\_\+out} & friction velocity \mbox{[}m/s\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+prec\+\_\+grnd} & water onto ground including canopy runoff \mbox{[}kg/(m2 s)\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+evap\+\_\+soi} & soil evaporation (mm H2\+O/s) (+ = to atm) \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+evap\+\_\+tot} & qflx\+\_\+evap\+\_\+soi + qflx\+\_\+evap\+\_\+veg + qflx\+\_\+tran\+\_\+veg \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+sh\+\_\+grnd} & sensible heat flux from ground (W/m$\ast$$\ast$2) \mbox{[}+ to atm\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+lwrad\+\_\+out} & emitted infrared (longwave) radiation (W/m$\ast$$\ast$2) \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+lwrad\+\_\+net} & net infrared (longwave) rad (W/m$\ast$$\ast$2) \mbox{[}+ = to atm\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+soil\+\_\+grnd} & soil heat flux (W/m$\ast$$\ast$2) \mbox{[}+ = into soil\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+sh\+\_\+tot} & total sensible heat flux (W/m$\ast$$\ast$2) \mbox{[}+ to atm\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+lh\+\_\+tot} & total latent heat flux (W/m8$\ast$2) \mbox{[}+ to atm\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+lh\+\_\+grnd} & ground evaporation heat flux (W/m$\ast$$\ast$2) \mbox{[}+ to atm\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em t\+\_\+veg} & vegetation temperature (Kelvin) \\
\hline
\mbox{\texttt{ out}}  & {\em t\+\_\+ref2m} & 2 m height surface air temperature (Kelvin) \\
\hline
\mbox{\texttt{ out}}  & {\em q\+\_\+ref2m} & 2 m height surface specific humidity (kg/kg) \\
\hline
\mbox{\texttt{ out}}  & {\em taux} & wind (shear) stress\+: e-\/w (kg/m/s$\ast$$\ast$2) \\
\hline
\mbox{\texttt{ out}}  & {\em tauy} & wind (shear) stress\+: n-\/s (kg/m/s$\ast$$\ast$2) \\
\hline
\mbox{\texttt{ out}}  & {\em ram1} & aerodynamical resistance (s/m) \\
\hline
\mbox{\texttt{ out}}  & {\em ws} & surface friction velocity (m/s) \\
\hline
\mbox{\texttt{ out}}  & {\em ks} & coefficient passed to Shal\+Lake\+Temperature for calculation of decay of eddy diffusivity with depth \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+gnet} & net heat flux into ground (W/m$\ast$$\ast$2) Change the type variable to pass back to WRF. \\
\hline
\mbox{\texttt{ out}}  & {\em z0mg} & roughness length over ground, momentum (m( \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a303d8855b46b75b0cbe1ce18be6407b7_a303d8855b46b75b0cbe1ce18be6407b7}\label{namespaceclm__lake_a303d8855b46b75b0cbe1ce18be6407b7_a303d8855b46b75b0cbe1ce18be6407b7}} 
\index{clm\_lake@{clm\_lake}!shallaketemperature@{shallaketemperature}}
\index{shallaketemperature@{shallaketemperature}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{shallaketemperature()}{shallaketemperature()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::shallaketemperature (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{t\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{h2osno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{sabg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}} + 1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{dz\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{z,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{zi,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{z\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{ws,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{ks,  }\item[{integer, dimension(1), intent(in)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{eflx\+\_\+gnet,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{lakedepth,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{lake\+\_\+icefrac,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{snowdp,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+sh\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+sh\+\_\+tot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+soil\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{t\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{savedtke1,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{watsat,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tksatu,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tkmg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tkdry,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{csol,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{dtime,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{frac\+\_\+iceold,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+snomelt,  }\item[{integer, dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{imelt,  }\item[{character($\ast$), intent(inout)}]{errmsg,  }\item[{integer, intent(inout)}]{errflg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em watsat} & volumetric soil water at saturation (porosity)\\
\hline
\mbox{\texttt{ in}}  & {\em tksatu} & thermal conductivity, saturated soil \mbox{[}W/m-\/K\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em tkmg} & thermal conductivity, soil minerals \mbox{[}W/m-\/K\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em tkdry} & thermal conductivity, dry soil (W/m/\+Kelvin)\\
\hline
\mbox{\texttt{ in}}  & {\em csol} & heat capacity, soil solids (J/m$\ast$$\ast$3/\+Kelvin)\\
\hline
\mbox{\texttt{ in}}  & {\em t\+\_\+grnd} & ground temperature (Kelvin)\\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osno} & snow water (mm H2O)\\
\hline
\mbox{\texttt{ in}}  & {\em sabg} & solar radiation absorbed by ground (W/m$\ast$$\ast$2)\\
\hline
\mbox{\texttt{ in}}  & {\em dz} & layer thickness for snow \& soil (m)\\
\hline
\mbox{\texttt{ in}}  & {\em dz\+\_\+lake} & layer thickness for lake (m)\\
\hline
\mbox{\texttt{ in}}  & {\em z} & layer depth for snow \& soil (m)\\
\hline
\mbox{\texttt{ in}}  & {\em zi} & interface level below a \char`\"{}z\char`\"{} level (m) the other z and dz variables\\
\hline
\mbox{\texttt{ in}}  & {\em z\+\_\+lake} & layer depth for lake (m)\\
\hline
\mbox{\texttt{ in}}  & {\em ws} & surface friction velocity (m/s)\\
\hline
\mbox{\texttt{ in}}  & {\em ks} & coefficient passed to Shal\+Lake\+Temperature for calculation of decay of eddy diffusivity with depth\\
\hline
\mbox{\texttt{ in}}  & {\em snl} & negative of number of snow layers\\
\hline
\mbox{\texttt{ in,out}}  & {\em eflx\+\_\+gnet} & net heat flux into ground (W/m$\ast$$\ast$2) at the surface interface\\
\hline
\mbox{\texttt{ in}}  & {\em lakedepth} & column lake depth (m)\\
\hline
\mbox{\texttt{ in,out}}  & {\em snowdp} & snow height (m)\\
\hline
\mbox{\texttt{ in}}  & {\em dtime} & timestep\\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+sh\+\_\+grnd} & sensible heat flux from ground (W/m$\ast$$\ast$2) \mbox{[}+ to atm\mbox{]}\\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+sh\+\_\+tot} & total sensible heat flux (W/m$\ast$$\ast$2) \mbox{[}+ to atm\mbox{]}\\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+soil\+\_\+grnd} & heat flux into snow / lake (W/m$\ast$$\ast$2) \mbox{[}+ = into soil\mbox{]} Here this includes the whole lake radiation absorbed.\\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+lake} & lake temperature (Kelvin)\\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+soisno} & soil (or snow) temperature (Kelvin)\\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \mbox{[}for snow \& soil layers\mbox{]}\\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \mbox{[}for snow \& soil layers\mbox{]}\\
\hline
\mbox{\texttt{ in,out}}  & {\em lake\+\_\+icefrac} & mass fraction of lake layer that is frozen\\
\hline
\mbox{\texttt{ out}}  & {\em savedtke1} & top level thermal conductivity (W/mK)\\
\hline
\mbox{\texttt{ out}}  & {\em frac\+\_\+iceold} & fraction of ice relative to the tot water\\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+snomelt} & snow melt (mm H2O /s)\\
\hline
\mbox{\texttt{ out}}  & {\em imelt} & flag for melting (=1), freezing (=2), Not=0 (new) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_af23692ae185eeb3cde51c989c4f4cc2f_af23692ae185eeb3cde51c989c4f4cc2f}\label{namespaceclm__lake_af23692ae185eeb3cde51c989c4f4cc2f_af23692ae185eeb3cde51c989c4f4cc2f}} 
\index{clm\_lake@{clm\_lake}!soilthermprop\_lake@{soilthermprop\_lake}}
\index{soilthermprop\_lake@{soilthermprop\_lake}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{soilthermprop\_lake()}{soilthermprop\_lake()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::soilthermprop\+\_\+lake (\begin{DoxyParamCaption}\item[{integer, dimension(1), intent(in)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{zi,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{z,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{watsat,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tksatu,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tkmg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{tkdry,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{csol,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{tk,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{cv,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc), intent(out)}]{tktopsoillay,  }\item[{character($\ast$), intent(inout)}]{errmsg,  }\item[{integer, intent(inout)}]{errflg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

~\newline
 (2) The thermal conductivity of soil is computed from the algorithm of Johansen (as reported by Farouki 1981), and of snow is from the formulation used in SNTHERM (Jordan 1991). The thermal conductivities at the interfaces between two neighboring layers (j, j+1) are derived from an assumption that the flux across the interface is equal to that from the node j to the interface and the flux from the interface to the node j+1.

For lakes, the proper soil layers (not snow) should always be saturated. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in}}  & {\em watsat} & volumetric soil water at saturation (porosity) \\
\hline
\mbox{\texttt{ in}}  & {\em tksatu} & thermal conductivity, saturated soil \mbox{[}W/m-\/K\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em tkmg} & thermal conductivity, soil minerals \mbox{[}W/m-\/K\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em tkdry} & thermal conductivity, dry soil (W/m/\+Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em csol} & heat capacity, soil solids (J/m$\ast$$\ast$3/\+Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em dz} & layer thickness (m) \\
\hline
\mbox{\texttt{ in}}  & {\em zi} & interface level below a \char`\"{}z\char`\"{} level (m) \\
\hline
\mbox{\texttt{ in}}  & {\em z} & layer depth (m) \\
\hline
\mbox{\texttt{ in}}  & {\em t\+\_\+soisno} & soil temperature (Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ in}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ out}}  & {\em cv} & heat capacity \mbox{[}J/(m2 K)\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em tk} & thermal conductivity \mbox{[}W/(m K)\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em tktopsoillay} & thermal conductivity \mbox{[}W/(m K)\mbox{]} \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_acbf73d26ff8d333240b46663ba694c88_acbf73d26ff8d333240b46663ba694c88}\label{namespaceclm__lake_acbf73d26ff8d333240b46663ba694c88_acbf73d26ff8d333240b46663ba694c88}} 
\index{clm\_lake@{clm\_lake}!phasechange\_lake@{phasechange\_lake}}
\index{phasechange\_lake@{phasechange\_lake}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{phasechange\_lake()}{phasechange\_lake()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::phasechange\+\_\+lake (\begin{DoxyParamCaption}\item[{integer, dimension(1), intent(in)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{h2osno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{dz\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{lake\+\_\+icefrac,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{t\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{snowdp,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+snomelt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{eflx\+\_\+snomelt,  }\item[{integer, dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{imelt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{cv,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension (lbc\+:ubc,1\+:\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{cv\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc), intent(out)}]{lhabs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

The specific heats are assumed constant. Potential cycling errors resulting from this assumption will be trapped at the end of Shal\+Lake\+Temperature. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osno} & snow water (mm H2O) \\
\hline
\mbox{\texttt{ in}}  & {\em dz} & layer thickness (m) \\
\hline
\mbox{\texttt{ in}}  & {\em dz\+\_\+lake} & lake layer thickness (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em snowdp} & snow height (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+soisno} & soil temperature (Kelvin) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ in,out}}  & {\em lake\+\_\+icefrac} & mass fraction of lake layer that is frozen \\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+lake} & lake temperature (Kelvin) \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+snomelt} & snow melt (mm H2O /s) \\
\hline
\mbox{\texttt{ out}}  & {\em eflx\+\_\+snomelt} & snow melt heat flux (W/m$\ast$$\ast$2) \\
\hline
\mbox{\texttt{ out}}  & {\em imelt} & flag for melting (=1), freezing (=2), Not=0 (new) \\
\hline
\mbox{\texttt{ in,out}}  & {\em cv} & heat capacity \mbox{[}J/(m2 K)\mbox{]} \\
\hline
\mbox{\texttt{ in,out}}  & {\em cv\+\_\+lake} & heat capacity \mbox{[}J/(m2 K)\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em lhabs} & total per-\/column latent heat abs. (J/m$^\wedge$2) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a8880c2394213f41e2e8303f2fa89ed61_a8880c2394213f41e2e8303f2fa89ed61}\label{namespaceclm__lake_a8880c2394213f41e2e8303f2fa89ed61_a8880c2394213f41e2e8303f2fa89ed61}} 
\index{clm\_lake@{clm\_lake}!shallakehydrology@{shallakehydrology}}
\index{shallakehydrology@{shallakehydrology}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{shallakehydrology()}{shallakehydrology()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::shallakehydrology (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(in)}]{dz\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+rain,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+snow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{begwb,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+evap\+\_\+tot,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+t,  }\item[{logical, dimension(1), intent(in)}]{do\+\_\+capsnow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{t\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+evap\+\_\+soi,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+snomelt,  }\item[{integer, dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{imelt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{frac\+\_\+iceold,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{z,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{zi,  }\item[{integer, dimension(1), intent(inout)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{h2osno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{snowdp,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{lake\+\_\+icefrac,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(inout)}]{t\+\_\+lake,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{endwb,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{snowage,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{snowice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{snowliq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{t\+\_\+snow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{h2osoi\+\_\+vol,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+drain,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+surf,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+infl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+qrgwl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qcharge,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+prec\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+snowcap,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+snowcap\+\_\+col,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+snow\+\_\+grnd\+\_\+pft,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+snow\+\_\+grnd\+\_\+col,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+rain\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+evap\+\_\+tot\+\_\+col,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{soilalpha,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{zwt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{fcov,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{rootr\+\_\+column,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+evap\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+sub\+\_\+snow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+dew\+\_\+snow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+dew\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+rain\+\_\+grnd\+\_\+col,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}})}]{watsat,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}})}]{tksatu,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}})}]{tkmg,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}})}]{tkdry,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}})}]{csol,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{dtime,  }\item[{character($\ast$), intent(inout)}]{errmsg,  }\item[{integer, intent(inout)}]{errflg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

If snow layers are present over an unfrozen lake, and the top layer of the lake is capable of absorbing the latent heat without going below freezing, the snow-\/water is runoff and the latent heat is subtracted from the lake. 
\begin{DoxyParams}[1]{Parameters}
 & {\em watsat} & volumetric soil water at saturation (porosity) \\
\hline
 & {\em tksatu} & thermal conductivity, saturated soil \mbox{[}W/m-\/K\mbox{]} \\
\hline
 & {\em tkmg} & thermal conductivity, soil minerals \mbox{[}W/m-\/K\mbox{]} \\
\hline
 & {\em tkdry} & thermal conductivity, dry soil (W/m/\+Kelvin) \\
\hline
 & {\em csol} & heat capacity, soil solids (J/m$\ast$$\ast$3/\+Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em dtime} & timestep \\
\hline
\mbox{\texttt{ in}}  & {\em dz\+\_\+lake} & layer thickness for lake (m) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+rain} & rain rate \mbox{[}mm/s\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+snow} & snow rate \mbox{[}mm/s\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+evap\+\_\+tot} & qflx\+\_\+evap\+\_\+soi + qflx\+\_\+evap\+\_\+veg + qflx\+\_\+tran\+\_\+veg \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+t} & atmospheric temperature (Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em do\+\_\+capsnow} & true =\texorpdfstring{$>$}{>} do snow capping \\
\hline
\mbox{\texttt{ in}}  & {\em t\+\_\+grnd} & ground temperature (Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+evap\+\_\+soi} & soil evaporation (mm H2\+O/s) (+ = to atm) \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+snomelt} & snow melt (mm H2O /s) \\
\hline
\mbox{\texttt{ in}}  & {\em imelt} & flag for melting (=1), freezing (=2), Not=0 \\
\hline
\mbox{\texttt{ in,out}}  & {\em begwb} & water mass begining of the time step \\
\hline
\mbox{\texttt{ in,out}}  & {\em z} & layer depth (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em dz} & layer thickness depth (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em zi} & interface depth (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osno} & snow water (mm H2O) \\
\hline
\mbox{\texttt{ in,out}}  & {\em snowdp} & snow height (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em lake\+\_\+icefrac} & mass fraction of lake layer that is frozen \\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+lake} & lake temperature (Kelvin) \\
\hline
\mbox{\texttt{ in,out}}  & {\em frac\+\_\+iceold} & fraction of ice relative to the tot water \\
\hline
\mbox{\texttt{ out}}  & {\em endwb} & water mass end of the time step \\
\hline
\mbox{\texttt{ out}}  & {\em snowage} & non dimensional snow age \mbox{[}-\/\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em snowice} & average snow ice lens \\
\hline
\mbox{\texttt{ out}}  & {\em snowliq} & average snow liquid water \\
\hline
\mbox{\texttt{ out}}  & {\em t\+\_\+snow} & vertically averaged snow temperature \\
\hline
\mbox{\texttt{ out}}  & {\em t\+\_\+soisno} & snow temperature (Kelvin) \\
\hline
\mbox{\texttt{ out}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ out}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ out}}  & {\em h2osoi\+\_\+vol} & volumetric soil water (0\texorpdfstring{$<$}{<}=h2osoi\+\_\+vol\texorpdfstring{$<$}{<}=watsat)\mbox{[}m3/m3\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+drain} & sub-\/surface runoff (mm H2O /s) \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+surf} & surface runoff (mm H2O /s) \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+infl} & infiltration (mm H2O /s) \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+qrgwl} & qflx\+\_\+surf at glaciers, wetlands, lakes \\
\hline
\mbox{\texttt{ out}}  & {\em qcharge} & aquifer recharge rate (mm/s) \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+prec\+\_\+grnd} & water onto ground including canopy runoff \mbox{[}kg/(m2 s)\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+snowcap} & excess precipitation due to snow capping (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+snowcap\+\_\+col} & excess precipitation due to snow capping (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+snow\+\_\+grnd\+\_\+pft} & snow on ground after interception (mm H2\+O/s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+snow\+\_\+grnd\+\_\+col} & snow on ground after interception (mm H2\+O/s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+rain\+\_\+grnd} & rain on ground after interception (mm H2\+O/s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+evap\+\_\+tot\+\_\+col} & pft quantity averaged to the column (assuming one pft) \\
\hline
\mbox{\texttt{ out}}  & {\em soilalpha} & factor that reduces ground saturated specific humidity (-\/) \\
\hline
\mbox{\texttt{ out}}  & {\em zwt} & water table depth \\
\hline
\mbox{\texttt{ out}}  & {\em fcov} & fractional area with water table at surface \\
\hline
\mbox{\texttt{ out}}  & {\em rootr\+\_\+column} & effective fraction of roots in each soil layer \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+evap\+\_\+grnd} & ground surface evaporation rate (mm H2\+O/s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+sub\+\_\+snow} & sublimation rate from snow pack (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+dew\+\_\+snow} & surface dew added to snow pack (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+dew\+\_\+grnd} & ground surface dew formation (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+rain\+\_\+grnd\+\_\+col} & rain on ground after interception (mm H2\+O/s) \mbox{[}+\mbox{]} \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a2530111bde53af08c5a27bb394e204d6_a2530111bde53af08c5a27bb394e204d6}\label{namespaceclm__lake_a2530111bde53af08c5a27bb394e204d6_a2530111bde53af08c5a27bb394e204d6}} 
\index{clm\_lake@{clm\_lake}!qsat@{qsat}}
\index{qsat@{qsat}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{qsat()}{qsat()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::qsat (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{T,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{p,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(out)}]{es,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(out)}]{esdT,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(out)}]{qs,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(out)}]{qsdT }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em t} & temperature (K) \\
\hline
\mbox{\texttt{ in}}  & {\em p} & surface atmospheric pressure (pa) \\
\hline
\mbox{\texttt{ out}}  & {\em es} & vapor pressure (pa) \\
\hline
\mbox{\texttt{ out}}  & {\em esdt} & d(es)/d(T) \\
\hline
\mbox{\texttt{ out}}  & {\em qs} & humidity (kg/kg) \\
\hline
\mbox{\texttt{ out}}  & {\em qsdt} & d(qs)/d(T) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_ada6f05d21d094d9d20ed6e0bd851a3fa_ada6f05d21d094d9d20ed6e0bd851a3fa}\label{namespaceclm__lake_ada6f05d21d094d9d20ed6e0bd851a3fa_ada6f05d21d094d9d20ed6e0bd851a3fa}} 
\index{clm\_lake@{clm\_lake}!tridiagonal@{tridiagonal}}
\index{tridiagonal@{tridiagonal}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{tridiagonal()}{tridiagonal()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::tridiagonal (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{lbc,  }\item[{integer, intent(in)}]{ubc,  }\item[{integer, intent(in)}]{lbj,  }\item[{integer, intent(in)}]{ubj,  }\item[{integer, dimension(lbc\+:ubc), intent(in)}]{jtop,  }\item[{integer, intent(in)}]{numf,  }\item[{integer, dimension(1\+:numf), intent(in)}]{filter,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc, lbj\+:ubj), intent(in)}]{a,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc, lbj\+:ubj), intent(in)}]{b,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc, lbj\+:ubj), intent(in)}]{c,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc, lbj\+:ubj), intent(in)}]{r,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbc\+:ubc, lbj\+:ubj), intent(inout)}]{u }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ubc} & lbinning and ubing column indices\\
\hline
\mbox{\texttt{ in}}  & {\em ubj} & lbinning and ubing level indices\\
\hline
\mbox{\texttt{ in}}  & {\em jtop} & top level for each column\\
\hline
\mbox{\texttt{ in}}  & {\em numf} & filter dimension\\
\hline
\mbox{\texttt{ in}}  & {\em a} & \char`\"{}a\char`\"{} left off diagonal of tridiagonal matrix\\
\hline
\mbox{\texttt{ in}}  & {\em b} & \char`\"{}b\char`\"{} diagonal column for tridiagonal matrix\\
\hline
\mbox{\texttt{ in}}  & {\em c} & \char`\"{}c\char`\"{} right off diagonal tridiagonal matrix\\
\hline
\mbox{\texttt{ in}}  & {\em r} & \char`\"{}r\char`\"{} forcing term of tridiagonal matrix\\
\hline
\mbox{\texttt{ in,out}}  & {\em u} & solution \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a609169984304672f7d79d1548c1b1915_a609169984304672f7d79d1548c1b1915}\label{namespaceclm__lake_a609169984304672f7d79d1548c1b1915_a609169984304672f7d79d1548c1b1915}} 
\index{clm\_lake@{clm\_lake}!snowwater@{snowwater}}
\index{snowwater@{snowwater}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{snowwater()}{snowwater()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::snowwater (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{lbc,  }\item[{integer, intent(in)}]{ubc,  }\item[{integer, intent(in)}]{num\+\_\+snowc,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(in)}]{filter\+\_\+snowc,  }\item[{integer, intent(in)}]{num\+\_\+nosnowc,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(in)}]{filter\+\_\+nosnowc,  }\item[{integer, dimension(1), intent(in)}]{snl,  }\item[{logical, dimension(1), intent(in)}]{do\+\_\+capsnow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+snomelt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+rain\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+sub\+\_\+snow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+evap\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+dew\+\_\+snow,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{qflx\+\_\+dew\+\_\+grnd,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{dtime,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{qflx\+\_\+top\+\_\+soil }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ubc} & column bounds \\
\hline
\mbox{\texttt{ in}}  & {\em num\+\_\+snowc} & number of snow points in column filter \\
\hline
\mbox{\texttt{ in}}  & {\em filter\+\_\+snowc} & column filter for snow points \\
\hline
\mbox{\texttt{ in}}  & {\em num\+\_\+nosnowc} & number of non-\/snow points in column filter \\
\hline
\mbox{\texttt{ in}}  & {\em filter\+\_\+nosnowc} & column filter for non-\/snow points \\
\hline
\mbox{\texttt{ in}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in}}  & {\em do\+\_\+capsnow} & true =\texorpdfstring{$>$}{>} do snow capping \\
\hline
\mbox{\texttt{ in}}  & {\em dtime} & timestep \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+snomelt} & snow melt (mm H2O /s) \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+rain\+\_\+grnd} & rain on ground after interception (mm H2\+O/s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+sub\+\_\+snow} & sublimation rate from snow pack (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+evap\+\_\+grnd} & ground surface evaporation rate (mm H2\+O/s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+dew\+\_\+snow} & surface dew added to snow pack (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em qflx\+\_\+dew\+\_\+grnd} & ground surface dew formation (mm H2O /s) \mbox{[}+\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em dz} & layer depth (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ out}}  & {\em qflx\+\_\+top\+\_\+soil} & net water input into soil from top (mm/s) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a7e4351e30556eab9c9b6b1cdd4e4b0a1_a7e4351e30556eab9c9b6b1cdd4e4b0a1}\label{namespaceclm__lake_a7e4351e30556eab9c9b6b1cdd4e4b0a1_a7e4351e30556eab9c9b6b1cdd4e4b0a1}} 
\index{clm\_lake@{clm\_lake}!snowcompaction@{snowcompaction}}
\index{snowcompaction@{snowcompaction}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{snowcompaction()}{snowcompaction()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::snowcompaction (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{lbc,  }\item[{integer, intent(in)}]{ubc,  }\item[{integer, intent(in)}]{num\+\_\+snowc,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(in)}]{filter\+\_\+snowc,  }\item[{integer, dimension(1), intent(in)}]{snl,  }\item[{integer, dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{imelt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{frac\+\_\+iceold,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(in)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{dtime,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{dz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ubc} & column bounds \\
\hline
\mbox{\texttt{ in}}  & {\em num\+\_\+snowc} & number of column snow points in column filter \\
\hline
\mbox{\texttt{ in}}  & {\em filter\+\_\+snowc} & column filter for snow points \\
\hline
\mbox{\texttt{ in}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in}}  & {\em imelt} & flag for melting (=1), freezing (=2), Not=0 \\
\hline
\mbox{\texttt{ in}}  & {\em frac\+\_\+iceold} & fraction of ice relative to the tot water \\
\hline
\mbox{\texttt{ in}}  & {\em t\+\_\+soisno} & soil temperature (Kelvin) \\
\hline
\mbox{\texttt{ in}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ in}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ in,out}}  & {\em dz} & layer depth (m) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_ac447acc162cd004682d862ea627caf4d_ac447acc162cd004682d862ea627caf4d}\label{namespaceclm__lake_ac447acc162cd004682d862ea627caf4d_ac447acc162cd004682d862ea627caf4d}} 
\index{clm\_lake@{clm\_lake}!combinesnowlayers@{combinesnowlayers}}
\index{combinesnowlayers@{combinesnowlayers}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{combinesnowlayers()}{combinesnowlayers()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::combinesnowlayers (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{lbc,  }\item[{integer, intent(in)}]{ubc,  }\item[{integer, intent(inout)}]{num\+\_\+snowc,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(inout)}]{filter\+\_\+snowc,  }\item[{integer, dimension(1), intent(inout)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{h2osno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(inout)}]{snowdp,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{zi,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{z }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ubc} & column bounds \\
\hline
\mbox{\texttt{ in,out}}  & {\em num\+\_\+snowc} & number of column snow points in column filter \\
\hline
\mbox{\texttt{ in,out}}  & {\em filter\+\_\+snowc} & column filter for snow points \\
\hline
\mbox{\texttt{ in,out}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osno} & snow water (mm H2O) \\
\hline
\mbox{\texttt{ in,out}}  & {\em snowdp} & snow height (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em dz} & layer depth (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em zi} & interface level below a \char`\"{}z\char`\"{} level (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+soisno} & soil temperature (Kelvin) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ out}}  & {\em z} & layer thickness (m) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_acf8bb476b784cdc2fb82a0a387e3de9f_acf8bb476b784cdc2fb82a0a387e3de9f}\label{namespaceclm__lake_acf8bb476b784cdc2fb82a0a387e3de9f_acf8bb476b784cdc2fb82a0a387e3de9f}} 
\index{clm\_lake@{clm\_lake}!dividesnowlayers@{dividesnowlayers}}
\index{dividesnowlayers@{dividesnowlayers}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{dividesnowlayers()}{dividesnowlayers()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::dividesnowlayers (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{lbc,  }\item[{integer, intent(in)}]{ubc,  }\item[{integer, intent(inout)}]{num\+\_\+snowc,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(inout)}]{filter\+\_\+snowc,  }\item[{integer, dimension(1), intent(inout)}]{snl,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{zi,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{t\+\_\+soisno,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+ice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{h2osoi\+\_\+liq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{z }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ubc} & column bounds \\
\hline
\mbox{\texttt{ in,out}}  & {\em num\+\_\+snowc} & number of column snow points in column filter \\
\hline
\mbox{\texttt{ in,out}}  & {\em filter\+\_\+snowc} & column filter for snow points \\
\hline
\mbox{\texttt{ in,out}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ in,out}}  & {\em dz} & layer depth (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em zi} & interface level below a \char`\"{}z\char`\"{} level (m) \\
\hline
\mbox{\texttt{ in,out}}  & {\em t\+\_\+soisno} & soil temperature (Kelvin) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+ice} & ice lens (kg/m2) \\
\hline
\mbox{\texttt{ in,out}}  & {\em h2osoi\+\_\+liq} & liquid water (kg/m2) \\
\hline
\mbox{\texttt{ out}}  & {\em z} & layer thickness (m) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_ab2c7929acc83c14dffda15a02c6ad9ff_ab2c7929acc83c14dffda15a02c6ad9ff}\label{namespaceclm__lake_ab2c7929acc83c14dffda15a02c6ad9ff_ab2c7929acc83c14dffda15a02c6ad9ff}} 
\index{clm\_lake@{clm\_lake}!combo@{combo}}
\index{combo@{combo}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{combo()}{combo()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::combo (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(inout)}]{dz,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(inout)}]{wliq,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(inout)}]{wice,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(inout)}]{t,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{dz2,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{wliq2,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{wice2,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{t2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em dz2} & Combines two elements and returns the following combined variables\+: dz, t, wliq, wice. \\
\hline
\mbox{\texttt{ in}}  & {\em dz2} & nodal thickness of 2 elements being combined \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em wliq2} & liquid water of element 2 \mbox{[}kg/m2\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em wice2} & ice of element 2 \mbox{[}kg/m2\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em t2} & nodal temperature of element 2 \mbox{[}K\mbox{]} \\
\hline
\mbox{\texttt{ in,out}}  & {\em dz} & nodal thickness of 1 elements being combined \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in,out}}  & {\em wliq} & liquid water of element 1 \\
\hline
\mbox{\texttt{ in,out}}  & {\em wice} & ice of element 1 \mbox{[}kg/m2\mbox{]} \\
\hline
\mbox{\texttt{ in,out}}  & {\em t} & nodel temperature of elment 1 \mbox{[}K\mbox{]} \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_ae4e6f20236e7a2ac042d8886b118dcc5_ae4e6f20236e7a2ac042d8886b118dcc5}\label{namespaceclm__lake_ae4e6f20236e7a2ac042d8886b118dcc5_ae4e6f20236e7a2ac042d8886b118dcc5}} 
\index{clm\_lake@{clm\_lake}!buildsnowfilter@{buildsnowfilter}}
\index{buildsnowfilter@{buildsnowfilter}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{buildsnowfilter()}{buildsnowfilter()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::buildsnowfilter (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{lbc,  }\item[{integer, intent(in)}]{ubc,  }\item[{integer, intent(in)}]{num\+\_\+nolakec,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(in)}]{filter\+\_\+nolakec,  }\item[{integer, dimension(1), intent(in)}]{snl,  }\item[{integer, intent(out)}]{num\+\_\+snowc,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(out)}]{filter\+\_\+snowc,  }\item[{integer, intent(out)}]{num\+\_\+nosnowc,  }\item[{integer, dimension(\mbox{\hyperlink{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}{ubc}}-\/\mbox{\hyperlink{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}{lbc}}+1), intent(out)}]{filter\+\_\+nosnowc }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em lbc} & Constructs snow filter for use in vectorized loops for snow hydrology. \\
\hline
\mbox{\texttt{ in}}  & {\em ubc} & Constructs snow filter for use in vectorized loops for snow hydrology. \\
\hline
\mbox{\texttt{ in}}  & {\em ubc} & column bounds \\
\hline
\mbox{\texttt{ in}}  & {\em num\+\_\+nolakec} & number of column non-\/lake points in column filter \\
\hline
\mbox{\texttt{ in}}  & {\em filter\+\_\+nolakec} & column filter for non-\/lake points \\
\hline
\mbox{\texttt{ in}}  & {\em snl} & number of snow layers \\
\hline
\mbox{\texttt{ out}}  & {\em num\+\_\+snowc} & number of column snow points in column filter \\
\hline
\mbox{\texttt{ out}}  & {\em filter\+\_\+snowc} & column filter for snow points \\
\hline
\mbox{\texttt{ out}}  & {\em num\+\_\+nosnowc} & number of column non-\/snow points in column filter \\
\hline
\mbox{\texttt{ out}}  & {\em filter\+\_\+nosnowc} & column filter for non-\/snow points \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a3987b565385d60cb04d81ca3177463d6_a3987b565385d60cb04d81ca3177463d6}\label{namespaceclm__lake_a3987b565385d60cb04d81ca3177463d6_a3987b565385d60cb04d81ca3177463d6}} 
\index{clm\_lake@{clm\_lake}!frictionvelocity@{frictionvelocity}}
\index{frictionvelocity@{frictionvelocity}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{frictionvelocity()}{frictionvelocity()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::frictionvelocity (\begin{DoxyParamCaption}\item[{integer, dimension(1), intent(in)}]{pgridcell,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+u,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+t,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(in)}]{forc\+\_\+hgt\+\_\+q,  }\item[{integer, intent(in)}]{lbp,  }\item[{integer, intent(in)}]{ubp,  }\item[{integer, intent(in)}]{fn,  }\item[{integer, dimension(fn), intent(in)}]{filterp,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(in)}]{displa,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(in)}]{z0m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(in)}]{z0h,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(in)}]{z0q,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(in)}]{obu,  }\item[{integer, intent(in)}]{iter,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(in)}]{ur,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(in)}]{um,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(out)}]{ustar,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(out)}]{temp1,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(out)}]{temp2,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(out)}]{temp12m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(out)}]{temp22m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{u10,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1), intent(out)}]{fv,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(lbp\+:ubp), intent(inout)}]{fm }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em pgridcell} & pft\textquotesingle{}s gridcell index \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt} & atmospheric reference height (m) \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+u} & observational height of wind \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+t} & observational height of temperature \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em forc\+\_\+hgt\+\_\+q} & observational height of humidity \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em ubp} & pft array bounds \\
\hline
\mbox{\texttt{ in}}  & {\em fn} & number of filtered pft elements \\
\hline
\mbox{\texttt{ in}}  & {\em filterp} & pft filter \\
\hline
\mbox{\texttt{ in}}  & {\em displa} & displacement height (m) \\
\hline
\mbox{\texttt{ in}}  & {\em z0m} & roughness length over vegetation, momentum \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em z0h} & roughness length over vegetation, sensible heat \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em z0q} & roughness length over vegetation, latent heat \mbox{[}m\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em obu} & monin-\/obukhov length (m) \\
\hline
\mbox{\texttt{ in}}  & {\em iter} & iteration number \\
\hline
\mbox{\texttt{ in}}  & {\em ur} & wind speed at reference height \mbox{[}m/s\mbox{]} \\
\hline
\mbox{\texttt{ in}}  & {\em um} & wind speed including the stablity effect \mbox{[}m/s\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em ustar} & friction velocity \mbox{[}m/s\mbox{]} \\
\hline
\mbox{\texttt{ out}}  & {\em temp1} & relation for potential temperature profile \\
\hline
\mbox{\texttt{ out}}  & {\em temp12m} & relation for potential temperature profile applied at 2-\/m \\
\hline
\mbox{\texttt{ out}}  & {\em temp2} & relation for specific humidity profile \\
\hline
\mbox{\texttt{ out}}  & {\em temp22m} & relation for specific humidity profile applied at 2-\/m \\
\hline
\mbox{\texttt{ out}}  & {\em u10} & 10-\/m wind (m/s) (for dust model) \\
\hline
\mbox{\texttt{ out}}  & {\em fv} & friction velocity (m/s) (for dust model) \\
\hline
\mbox{\texttt{ in,out}}  & {\em fm} & needed for DGVM only to diagnose 10m wind \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a2218d0d821c15763c34a951747974aaa_a2218d0d821c15763c34a951747974aaa}\label{namespaceclm__lake_a2218d0d821c15763c34a951747974aaa_a2218d0d821c15763c34a951747974aaa}} 
\index{clm\_lake@{clm\_lake}!stabilityfunc1@{stabilityfunc1}}
\index{stabilityfunc1@{stabilityfunc1}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{stabilityfunc1()}{stabilityfunc1()}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) function clm\+\_\+lake\+::stabilityfunc1 (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{zeta }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em zeta} & Stability function for rib \texorpdfstring{$<$}{<} 0.\\
\hline
\mbox{\texttt{ in}}  & {\em zeta} & dimensionless height used in Monin-\/\+Obukhov theory \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_a36af92623df1ef147db389224d077a92_a36af92623df1ef147db389224d077a92}\label{namespaceclm__lake_a36af92623df1ef147db389224d077a92_a36af92623df1ef147db389224d077a92}} 
\index{clm\_lake@{clm\_lake}!stabilityfunc2@{stabilityfunc2}}
\index{stabilityfunc2@{stabilityfunc2}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{stabilityfunc2()}{stabilityfunc2()}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) function clm\+\_\+lake\+::stabilityfunc2 (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{zeta }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em zeta} & Stability function for rib \texorpdfstring{$<$}{<} 0.\\
\hline
\mbox{\texttt{ in}}  & {\em zeta} & dimensionless height used in Monin-\/\+Obukhov theory \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_ab4ca44b88aa24015f62195b9591aa8f3_ab4ca44b88aa24015f62195b9591aa8f3}\label{namespaceclm__lake_ab4ca44b88aa24015f62195b9591aa8f3_ab4ca44b88aa24015f62195b9591aa8f3}} 
\index{clm\_lake@{clm\_lake}!moninobukini@{moninobukini}}
\index{moninobukini@{moninobukini}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{moninobukini()}{moninobukini()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::moninobukini (\begin{DoxyParamCaption}\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{ur,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{thv,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{dthv,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{zldis,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(in)}]{z0m,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(out)}]{um,  }\item[{real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), intent(out)}]{obu }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em ur} & Initialization of the Monin-\/\+Obukhov length. The scheme is based on the work of Zeng et al. (1998)\+: Intercomparison of bulk aerodynamic algorithms for the computation of sea surface fluxes using TOGA CORE and TAO data. J. Climate, Vol. 11, 2628-\/2644.\\
\hline
\mbox{\texttt{ in}}  & {\em ur} & wind speed at reference height \mbox{[}m/s\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em thv} & virtual potential temperature (kelvin)\\
\hline
\mbox{\texttt{ in}}  & {\em dthv} & diff of vir. poten. temp. between ref. height and surface\\
\hline
\mbox{\texttt{ in}}  & {\em zldis} & reference height \char`\"{}minus\char`\"{} zero displacement heght \mbox{[}m\mbox{]}\\
\hline
\mbox{\texttt{ in}}  & {\em z0m} & roughness length, momentum \mbox{[}m\mbox{]}\\
\hline
\mbox{\texttt{ out}}  & {\em um} & wind speed including the stability effect \mbox{[}m/s\mbox{]}\\
\hline
\mbox{\texttt{ out}}  & {\em obu} & monin-\/obukhov length (m) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespaceclm__lake_aa85e0a789baf16a3fa800917f1e1748a_aa85e0a789baf16a3fa800917f1e1748a}\label{namespaceclm__lake_aa85e0a789baf16a3fa800917f1e1748a_aa85e0a789baf16a3fa800917f1e1748a}} 
\index{clm\_lake@{clm\_lake}!clm\_lake\_init@{clm\_lake\_init}}
\index{clm\_lake\_init@{clm\_lake\_init}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{clm\_lake\_init()}{clm\_lake\_init()}}
{\footnotesize\ttfamily subroutine, public clm\+\_\+lake\+::clm\+\_\+lake\+\_\+init (\begin{DoxyParamCaption}\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+pi,  }\item[{real(kind\+\_\+phys), intent(in)}]{karman,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+g,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+sbc,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+t0c,  }\item[{real(kind\+\_\+phys), intent(in)}]{rhowater,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+csol,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+cliq,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+hfus,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+hvap,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+rd,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+cp,  }\item[{real(kind\+\_\+phys), intent(in)}]{rholakeice,  }\item[{logical, intent(in)}]{clm\+\_\+lake\+\_\+debug,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+eps\+\_\+model,  }\item[{real(kind\+\_\+phys), intent(in)}]{con\+\_\+fvirt\+\_\+model,  }\item[{character($\ast$), intent(out)}]{errmsg,  }\item[{integer, intent(out)}]{errflg }\end{DoxyParamCaption})}

\hypertarget{namespaceclm__lake_aa85e0a789baf16a3fa800917f1e1748a_arg_table_clm_lake_init}{}\doxysubsubsection{Argument Table}\label{namespaceclm__lake_aa85e0a789baf16a3fa800917f1e1748a_arg_table_clm_lake_init}
 \mbox{\Hypertarget{namespaceclm__lake_ac954e796a555e34bf0495af3f4645a48_ac954e796a555e34bf0495af3f4645a48}\label{namespaceclm__lake_ac954e796a555e34bf0495af3f4645a48_ac954e796a555e34bf0495af3f4645a48}} 
\index{clm\_lake@{clm\_lake}!lakeini@{lakeini}}
\index{lakeini@{lakeini}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{lakeini()}{lakeini()}}
{\footnotesize\ttfamily subroutine clm\+\_\+lake\+::lakeini (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{kdt,  }\item[{integer, dimension(im), intent(in)}]{ISLTYP,  }\item[{real(kind\+\_\+phys), dimension(im,km), intent(in)}]{gt0,  }\item[{real(kind\+\_\+phys), dimension(im), intent(inout)}]{snowd,  }\item[{real(kind\+\_\+phys), dimension(im), intent(inout)}]{weasd,  }\item[{real(kind\+\_\+phys), intent(in)}]{lakedepth\+\_\+default,  }\item[{real(kind\+\_\+phys), intent(in)}]{fhour,  }\item[{real(kind\+\_\+phys), dimension(im), intent(in)}]{oro\+\_\+lakedepth,  }\item[{real(kind\+\_\+phys), dimension(im), intent(out)}]{savedtke12d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(out)}]{snowdp2d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(out)}]{h2osno2d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(out)}]{snl2d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(out)}]{t\+\_\+grnd2d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(out)}]{t\+\_\+lake3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(out)}]{lake\+\_\+icefrac3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(out)}]{z\+\_\+lake3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}), intent(out)}]{dz\+\_\+lake3d,  }\item[{real(kind\+\_\+phys), dimension(im,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} ), intent(out)}]{t\+\_\+soisno3d,  }\item[{real(kind\+\_\+phys), dimension(im,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} ), intent(out)}]{h2osoi\+\_\+ice3d,  }\item[{real(kind\+\_\+phys), dimension(im,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} ), intent(out)}]{h2osoi\+\_\+liq3d,  }\item[{real(kind\+\_\+phys), dimension(im,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} ), intent(out)}]{h2osoi\+\_\+vol3d,  }\item[{real(kind\+\_\+phys), dimension(im,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} ), intent(out)}]{z3d,  }\item[{real(kind\+\_\+phys), dimension(im,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} ), intent(out)}]{dz3d,  }\item[{real(kind\+\_\+phys), dimension( im,-\/\mbox{\hyperlink{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}{nlevsnow}}+0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}} ), intent(out)}]{zi3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{watsat3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{csol3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{tkmg3d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(inout)}]{fice,  }\item[{real(kind\+\_\+phys), intent(in)}]{min\+\_\+lakeice,  }\item[{real(kind\+\_\+phys), dimension(im), intent(in)}]{tsfc,  }\item[{integer, dimension(im), intent(in)}]{use\+\_\+lake\+\_\+model,  }\item[{logical, intent(in)}]{use\+\_\+lakedepth,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{tkdry3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(out)}]{tksatu3d,  }\item[{integer, intent(in)}]{im,  }\item[{real(kind\+\_\+phys), dimension(im,km), intent(in)}]{prsi,  }\item[{real(kind\+\_\+phys), dimension(im), intent(in)}]{xlat\+\_\+d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(in)}]{xlon\+\_\+d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(inout)}]{clm\+\_\+lake\+\_\+initialized,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{sand3d,  }\item[{real(kind\+\_\+phys), dimension(im,\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}), intent(inout)}]{clay3d,  }\item[{real(kind\+\_\+phys), dimension(im), intent(in)}]{tg3,  }\item[{real(kind\+\_\+phys), dimension(im), intent(inout)}]{clm\+\_\+lakedepth,  }\item[{integer, intent(in)}]{km,  }\item[{integer, intent(in)}]{me,  }\item[{integer, intent(in)}]{master,  }\item[{character($\ast$), intent(out)}]{errmsg,  }\item[{integer, intent(out)}]{errflg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em errflg} & Some 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)\texorpdfstring{$>$}{>}0. The clm\+\_\+lake\+\_\+initialized(i) guards against initializing a point twice. For that to work, clm\+\_\+lake\+\_\+initialized must be a restart variable. \\
\hline
\end{DoxyParams}


\doxysubsubsection{Variable Documentation}
\mbox{\Hypertarget{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}\label{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}} 
\index{clm\_lake@{clm\_lake}!kind\_lake@{kind\_lake}}
\index{kind\_lake@{kind\_lake}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{kind\_lake}{kind\_lake}}
{\footnotesize\ttfamily integer, parameter, public clm\+\_\+lake\+::kind\+\_\+lake = kind\+\_\+dbl\+\_\+prec}

\mbox{\Hypertarget{namespaceclm__lake_aba9d5338cde19843602bcee5fe662b63_aba9d5338cde19843602bcee5fe662b63}\label{namespaceclm__lake_aba9d5338cde19843602bcee5fe662b63_aba9d5338cde19843602bcee5fe662b63}} 
\index{clm\_lake@{clm\_lake}!lakedebug@{lakedebug}}
\index{lakedebug@{lakedebug}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{lakedebug}{lakedebug}}
{\footnotesize\ttfamily logical, public clm\+\_\+lake\+::lakedebug = .false.}

\mbox{\Hypertarget{namespaceclm__lake_a9200c35a3bf27039d3fb8b09e2abb6b6_a9200c35a3bf27039d3fb8b09e2abb6b6}\label{namespaceclm__lake_a9200c35a3bf27039d3fb8b09e2abb6b6_a9200c35a3bf27039d3fb8b09e2abb6b6}} 
\index{clm\_lake@{clm\_lake}!pergro@{pergro}}
\index{pergro@{pergro}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{pergro}{pergro}}
{\footnotesize\ttfamily logical, parameter clm\+\_\+lake\+::pergro = .false.\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a723331d7d636d13063effccd4fc74671_a723331d7d636d13063effccd4fc74671}\label{namespaceclm__lake_a723331d7d636d13063effccd4fc74671_a723331d7d636d13063effccd4fc74671}} 
\index{clm\_lake@{clm\_lake}!use\_etalake@{use\_etalake}}
\index{use\_etalake@{use\_etalake}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{use\_etalake}{use\_etalake}}
{\footnotesize\ttfamily logical, parameter clm\+\_\+lake\+::use\+\_\+etalake = .false.\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ae784eafab47c780547ea5a7e20c99836_ae784eafab47c780547ea5a7e20c99836}\label{namespaceclm__lake_ae784eafab47c780547ea5a7e20c99836_ae784eafab47c780547ea5a7e20c99836}} 
\index{clm\_lake@{clm\_lake}!etalake@{etalake}}
\index{etalake@{etalake}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{etalake}{etalake}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::etalake = 1.\+1925$\ast$50$\ast$$\ast$(-\/0.\+424)\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}\label{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}} 
\index{clm\_lake@{clm\_lake}!nlevsoil@{nlevsoil}}
\index{nlevsoil@{nlevsoil}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{nlevsoil}{nlevsoil}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::nlevsoil = 10\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}\label{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}} 
\index{clm\_lake@{clm\_lake}!nlevlake@{nlevlake}}
\index{nlevlake@{nlevlake}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{nlevlake}{nlevlake}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::nlevlake = 10\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}\label{namespaceclm__lake_a90adbd42f9d6589e3822d30fd2c34050_a90adbd42f9d6589e3822d30fd2c34050}} 
\index{clm\_lake@{clm\_lake}!nlevsnow@{nlevsnow}}
\index{nlevsnow@{nlevsnow}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{nlevsnow}{nlevsnow}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::nlevsnow = 5\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a0a5916608cff6a4a7a806a14d1e368b8_a0a5916608cff6a4a7a806a14d1e368b8}\label{namespaceclm__lake_a0a5916608cff6a4a7a806a14d1e368b8_a0a5916608cff6a4a7a806a14d1e368b8}} 
\index{clm\_lake@{clm\_lake}!scalez@{scalez}}
\index{scalez@{scalez}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{scalez}{scalez}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::scalez = 0.\+025\+\_\+kind\+\_\+lake\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a9da1b19602efa3d8d0d79b1b1fba30e1_a9da1b19602efa3d8d0d79b1b1fba30e1}\label{namespaceclm__lake_a9da1b19602efa3d8d0d79b1b1fba30e1_a9da1b19602efa3d8d0d79b1b1fba30e1}} 
\index{clm\_lake@{clm\_lake}!lbp@{lbp}}
\index{lbp@{lbp}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{lbp}{lbp}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::lbp = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a8f3bdc0a1d9d31c51f45a72a6999dd41_a8f3bdc0a1d9d31c51f45a72a6999dd41}\label{namespaceclm__lake_a8f3bdc0a1d9d31c51f45a72a6999dd41_a8f3bdc0a1d9d31c51f45a72a6999dd41}} 
\index{clm\_lake@{clm\_lake}!ubp@{ubp}}
\index{ubp@{ubp}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{ubp}{ubp}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::ubp = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}\label{namespaceclm__lake_a6ea75f1fafcf3ab6bd1de2cc90798dcb_a6ea75f1fafcf3ab6bd1de2cc90798dcb}} 
\index{clm\_lake@{clm\_lake}!lbc@{lbc}}
\index{lbc@{lbc}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{lbc}{lbc}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::lbc = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}\label{namespaceclm__lake_a3ae72bd8214a384f857cce599034b089_a3ae72bd8214a384f857cce599034b089}} 
\index{clm\_lake@{clm\_lake}!ubc@{ubc}}
\index{ubc@{ubc}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{ubc}{ubc}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::ubc = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a72221e9f88d4fb83394146b4b0f5d72e_a72221e9f88d4fb83394146b4b0f5d72e}\label{namespaceclm__lake_a72221e9f88d4fb83394146b4b0f5d72e_a72221e9f88d4fb83394146b4b0f5d72e}} 
\index{clm\_lake@{clm\_lake}!num\_shlakec@{num\_shlakec}}
\index{num\_shlakec@{num\_shlakec}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{num\_shlakec}{num\_shlakec}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::num\+\_\+shlakec = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a760b2fea007cadeb65b88dd6fa49dd70_a760b2fea007cadeb65b88dd6fa49dd70}\label{namespaceclm__lake_a760b2fea007cadeb65b88dd6fa49dd70_a760b2fea007cadeb65b88dd6fa49dd70}} 
\index{clm\_lake@{clm\_lake}!filter\_shlakec@{filter\_shlakec}}
\index{filter\_shlakec@{filter\_shlakec}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{filter\_shlakec}{filter\_shlakec}}
{\footnotesize\ttfamily integer, dimension(1), parameter clm\+\_\+lake\+::filter\+\_\+shlakec = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a6008e16ba689ccb8b980e15bbed3f3a3_a6008e16ba689ccb8b980e15bbed3f3a3}\label{namespaceclm__lake_a6008e16ba689ccb8b980e15bbed3f3a3_a6008e16ba689ccb8b980e15bbed3f3a3}} 
\index{clm\_lake@{clm\_lake}!num\_shlakep@{num\_shlakep}}
\index{num\_shlakep@{num\_shlakep}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{num\_shlakep}{num\_shlakep}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::num\+\_\+shlakep = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_abae2104f594b0f18ec7ee22a8c43f359_abae2104f594b0f18ec7ee22a8c43f359}\label{namespaceclm__lake_abae2104f594b0f18ec7ee22a8c43f359_abae2104f594b0f18ec7ee22a8c43f359}} 
\index{clm\_lake@{clm\_lake}!filter\_shlakep@{filter\_shlakep}}
\index{filter\_shlakep@{filter\_shlakep}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{filter\_shlakep}{filter\_shlakep}}
{\footnotesize\ttfamily integer, dimension(1), parameter clm\+\_\+lake\+::filter\+\_\+shlakep = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a6a97aa42f4c0f1fb254f1785b183e63f_a6a97aa42f4c0f1fb254f1785b183e63f}\label{namespaceclm__lake_a6a97aa42f4c0f1fb254f1785b183e63f_a6a97aa42f4c0f1fb254f1785b183e63f}} 
\index{clm\_lake@{clm\_lake}!pcolumn@{pcolumn}}
\index{pcolumn@{pcolumn}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{pcolumn}{pcolumn}}
{\footnotesize\ttfamily integer, dimension(1), parameter clm\+\_\+lake\+::pcolumn = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a1e4650464f2edc0f70ef2dc4a6e71c1b_a1e4650464f2edc0f70ef2dc4a6e71c1b}\label{namespaceclm__lake_a1e4650464f2edc0f70ef2dc4a6e71c1b_a1e4650464f2edc0f70ef2dc4a6e71c1b}} 
\index{clm\_lake@{clm\_lake}!pgridcell@{pgridcell}}
\index{pgridcell@{pgridcell}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{pgridcell}{pgridcell}}
{\footnotesize\ttfamily integer, dimension(1), parameter clm\+\_\+lake\+::pgridcell = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a3c5c0e4decb0dc204c0e616998560ab2_a3c5c0e4decb0dc204c0e616998560ab2}\label{namespaceclm__lake_a3c5c0e4decb0dc204c0e616998560ab2_a3c5c0e4decb0dc204c0e616998560ab2}} 
\index{clm\_lake@{clm\_lake}!cgridcell@{cgridcell}}
\index{cgridcell@{cgridcell}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{cgridcell}{cgridcell}}
{\footnotesize\ttfamily integer, dimension(1), parameter clm\+\_\+lake\+::cgridcell = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a7fe1cfc979b58b8595ac68a2ec55c7e5_a7fe1cfc979b58b8595ac68a2ec55c7e5}\label{namespaceclm__lake_a7fe1cfc979b58b8595ac68a2ec55c7e5_a7fe1cfc979b58b8595ac68a2ec55c7e5}} 
\index{clm\_lake@{clm\_lake}!clandunit@{clandunit}}
\index{clandunit@{clandunit}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{clandunit}{clandunit}}
{\footnotesize\ttfamily integer, dimension(1), parameter clm\+\_\+lake\+::clandunit = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a97398a9f01acec1151acb6c5d2695e0e_a97398a9f01acec1151acb6c5d2695e0e}\label{namespaceclm__lake_a97398a9f01acec1151acb6c5d2695e0e_a97398a9f01acec1151acb6c5d2695e0e}} 
\index{clm\_lake@{clm\_lake}!begg@{begg}}
\index{begg@{begg}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{begg}{begg}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::begg = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a354e0f8f839b5815ffdb618dd8f41fa7_a354e0f8f839b5815ffdb618dd8f41fa7}\label{namespaceclm__lake_a354e0f8f839b5815ffdb618dd8f41fa7_a354e0f8f839b5815ffdb618dd8f41fa7}} 
\index{clm\_lake@{clm\_lake}!endg@{endg}}
\index{endg@{endg}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{endg}{endg}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::endg = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_aa37dbdefe9fb9f56efb0272b362aded6_aa37dbdefe9fb9f56efb0272b362aded6}\label{namespaceclm__lake_aa37dbdefe9fb9f56efb0272b362aded6_aa37dbdefe9fb9f56efb0272b362aded6}} 
\index{clm\_lake@{clm\_lake}!begl@{begl}}
\index{begl@{begl}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{begl}{begl}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::begl = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a5f9283920812dc4f6ed8e87f8c0114cc_a5f9283920812dc4f6ed8e87f8c0114cc}\label{namespaceclm__lake_a5f9283920812dc4f6ed8e87f8c0114cc_a5f9283920812dc4f6ed8e87f8c0114cc}} 
\index{clm\_lake@{clm\_lake}!endl@{endl}}
\index{endl@{endl}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{endl}{endl}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::endl = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ad8ff83d32edd7662ce768baca4b7d053_ad8ff83d32edd7662ce768baca4b7d053}\label{namespaceclm__lake_ad8ff83d32edd7662ce768baca4b7d053_ad8ff83d32edd7662ce768baca4b7d053}} 
\index{clm\_lake@{clm\_lake}!begc@{begc}}
\index{begc@{begc}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{begc}{begc}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::begc = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a66203b5743d25888537d07c67c67ab25_a66203b5743d25888537d07c67c67ab25}\label{namespaceclm__lake_a66203b5743d25888537d07c67c67ab25_a66203b5743d25888537d07c67c67ab25}} 
\index{clm\_lake@{clm\_lake}!endc@{endc}}
\index{endc@{endc}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{endc}{endc}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::endc = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a10eca1142e1656cfc3c2327828ef3b8e_a10eca1142e1656cfc3c2327828ef3b8e}\label{namespaceclm__lake_a10eca1142e1656cfc3c2327828ef3b8e_a10eca1142e1656cfc3c2327828ef3b8e}} 
\index{clm\_lake@{clm\_lake}!begp@{begp}}
\index{begp@{begp}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{begp}{begp}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::begp = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a37d75928d1488dd50f47682ff5e5ca5d_a37d75928d1488dd50f47682ff5e5ca5d}\label{namespaceclm__lake_a37d75928d1488dd50f47682ff5e5ca5d_a37d75928d1488dd50f47682ff5e5ca5d}} 
\index{clm\_lake@{clm\_lake}!endp@{endp}}
\index{endp@{endp}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{endp}{endp}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::endp = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a934f47a1f86f5538e09a0a3558e9b9c7_a934f47a1f86f5538e09a0a3558e9b9c7}\label{namespaceclm__lake_a934f47a1f86f5538e09a0a3558e9b9c7_a934f47a1f86f5538e09a0a3558e9b9c7}} 
\index{clm\_lake@{clm\_lake}!column@{column}}
\index{column@{column}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{column}{column}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::column =1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_af9529d02d589bb6170be8e9994be1c6a_af9529d02d589bb6170be8e9994be1c6a}\label{namespaceclm__lake_af9529d02d589bb6170be8e9994be1c6a_af9529d02d589bb6170be8e9994be1c6a}} 
\index{clm\_lake@{clm\_lake}!lakpoi@{lakpoi}}
\index{lakpoi@{lakpoi}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{lakpoi}{lakpoi}}
{\footnotesize\ttfamily logical, dimension(1), parameter clm\+\_\+lake\+::lakpoi = .true.\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a6bb4b28b05c2df6aa1f2f4396046899e_a6bb4b28b05c2df6aa1f2f4396046899e}\label{namespaceclm__lake_a6bb4b28b05c2df6aa1f2f4396046899e_a6bb4b28b05c2df6aa1f2f4396046899e}} 
\index{clm\_lake@{clm\_lake}!tcrit@{tcrit}}
\index{tcrit@{tcrit}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{tcrit}{tcrit}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::tcrit = 2.\+5\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a365dcd933ca86f9e41d0f993fb1b900e_a365dcd933ca86f9e41d0f993fb1b900e}\label{namespaceclm__lake_a365dcd933ca86f9e41d0f993fb1b900e_a365dcd933ca86f9e41d0f993fb1b900e}} 
\index{clm\_lake@{clm\_lake}!tkwat@{tkwat}}
\index{tkwat@{tkwat}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{tkwat}{tkwat}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::tkwat = 0.\+6\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_acc8c6644179b63f24ddf4856f87cb9d1_acc8c6644179b63f24ddf4856f87cb9d1}\label{namespaceclm__lake_acc8c6644179b63f24ddf4856f87cb9d1_acc8c6644179b63f24ddf4856f87cb9d1}} 
\index{clm\_lake@{clm\_lake}!tkice@{tkice}}
\index{tkice@{tkice}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{tkice}{tkice}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::tkice = 2.\+290\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_afdca3ceec17b8711dd20d14ae8135289_afdca3ceec17b8711dd20d14ae8135289}\label{namespaceclm__lake_afdca3ceec17b8711dd20d14ae8135289_afdca3ceec17b8711dd20d14ae8135289}} 
\index{clm\_lake@{clm\_lake}!tkairc@{tkairc}}
\index{tkairc@{tkairc}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{tkairc}{tkairc}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::tkairc = 0.\+023\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a74b1f87f7dec69f5f1a61a7ecb0b1364_a74b1f87f7dec69f5f1a61a7ecb0b1364}\label{namespaceclm__lake_a74b1f87f7dec69f5f1a61a7ecb0b1364_a74b1f87f7dec69f5f1a61a7ecb0b1364}} 
\index{clm\_lake@{clm\_lake}!snow\_bd@{snow\_bd}}
\index{snow\_bd@{snow\_bd}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{snow\_bd}{snow\_bd}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::snow\+\_\+bd = 250\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_abad43d83568f0f1e938ec2e5f7158537_abad43d83568f0f1e938ec2e5f7158537}\label{namespaceclm__lake_abad43d83568f0f1e938ec2e5f7158537_abad43d83568f0f1e938ec2e5f7158537}} 
\index{clm\_lake@{clm\_lake}!pi@{pi}}
\index{pi@{pi}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{pi}{pi}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::pi\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a52ab2a2d6e5349079033817f647dfb3e_a52ab2a2d6e5349079033817f647dfb3e}\label{namespaceclm__lake_a52ab2a2d6e5349079033817f647dfb3e_a52ab2a2d6e5349079033817f647dfb3e}} 
\index{clm\_lake@{clm\_lake}!vkc@{vkc}}
\index{vkc@{vkc}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{vkc}{vkc}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::vkc\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_af7b0b4edad2328e14d8f105c5bdd3d8c_af7b0b4edad2328e14d8f105c5bdd3d8c}\label{namespaceclm__lake_af7b0b4edad2328e14d8f105c5bdd3d8c_af7b0b4edad2328e14d8f105c5bdd3d8c}} 
\index{clm\_lake@{clm\_lake}!grav@{grav}}
\index{grav@{grav}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{grav}{grav}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::grav\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ab05a492acbc4fc3c791d69df3c2f81ce_ab05a492acbc4fc3c791d69df3c2f81ce}\label{namespaceclm__lake_ab05a492acbc4fc3c791d69df3c2f81ce_ab05a492acbc4fc3c791d69df3c2f81ce}} 
\index{clm\_lake@{clm\_lake}!sb@{sb}}
\index{sb@{sb}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{sb}{sb}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::sb\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_aad26ad6ec4098f3e0a18fab4ba092d7f_aad26ad6ec4098f3e0a18fab4ba092d7f}\label{namespaceclm__lake_aad26ad6ec4098f3e0a18fab4ba092d7f_aad26ad6ec4098f3e0a18fab4ba092d7f}} 
\index{clm\_lake@{clm\_lake}!tfrz@{tfrz}}
\index{tfrz@{tfrz}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{tfrz}{tfrz}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::tfrz\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a8a016fd3d56fd17fb0dc54dceb23fe89_a8a016fd3d56fd17fb0dc54dceb23fe89}\label{namespaceclm__lake_a8a016fd3d56fd17fb0dc54dceb23fe89_a8a016fd3d56fd17fb0dc54dceb23fe89}} 
\index{clm\_lake@{clm\_lake}!denh2o@{denh2o}}
\index{denh2o@{denh2o}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{denh2o}{denh2o}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::denh2o\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_acf2ec0f47557c38a231808b9d6b48a1a_acf2ec0f47557c38a231808b9d6b48a1a}\label{namespaceclm__lake_acf2ec0f47557c38a231808b9d6b48a1a_acf2ec0f47557c38a231808b9d6b48a1a}} 
\index{clm\_lake@{clm\_lake}!denice@{denice}}
\index{denice@{denice}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{denice}{denice}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::denice\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ab9a94c1010ec5a186d87d6a8927c24c8_ab9a94c1010ec5a186d87d6a8927c24c8}\label{namespaceclm__lake_ab9a94c1010ec5a186d87d6a8927c24c8_ab9a94c1010ec5a186d87d6a8927c24c8}} 
\index{clm\_lake@{clm\_lake}!cpice@{cpice}}
\index{cpice@{cpice}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{cpice}{cpice}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::cpice\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a06395ef2f6cd444ace77c129b4bdcded_a06395ef2f6cd444ace77c129b4bdcded}\label{namespaceclm__lake_a06395ef2f6cd444ace77c129b4bdcded_a06395ef2f6cd444ace77c129b4bdcded}} 
\index{clm\_lake@{clm\_lake}!cpliq@{cpliq}}
\index{cpliq@{cpliq}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{cpliq}{cpliq}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::cpliq\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a11f6915733a310b7a5b10d2a22b56a98_a11f6915733a310b7a5b10d2a22b56a98}\label{namespaceclm__lake_a11f6915733a310b7a5b10d2a22b56a98_a11f6915733a310b7a5b10d2a22b56a98}} 
\index{clm\_lake@{clm\_lake}!hfus@{hfus}}
\index{hfus@{hfus}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{hfus}{hfus}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::hfus\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a58573f58d4f34a40d3a49451a1aa01a7_a58573f58d4f34a40d3a49451a1aa01a7}\label{namespaceclm__lake_a58573f58d4f34a40d3a49451a1aa01a7_a58573f58d4f34a40d3a49451a1aa01a7}} 
\index{clm\_lake@{clm\_lake}!hvap@{hvap}}
\index{hvap@{hvap}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{hvap}{hvap}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::hvap\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a3679f49be967804cf8a63654c35448d3_a3679f49be967804cf8a63654c35448d3}\label{namespaceclm__lake_a3679f49be967804cf8a63654c35448d3_a3679f49be967804cf8a63654c35448d3}} 
\index{clm\_lake@{clm\_lake}!hsub@{hsub}}
\index{hsub@{hsub}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{hsub}{hsub}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::hsub\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ad49f85055cd9c19709748f4a23e5e935_ad49f85055cd9c19709748f4a23e5e935}\label{namespaceclm__lake_ad49f85055cd9c19709748f4a23e5e935_ad49f85055cd9c19709748f4a23e5e935}} 
\index{clm\_lake@{clm\_lake}!invhvap@{invhvap}}
\index{invhvap@{invhvap}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{invhvap}{invhvap}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::invhvap\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_af4301a526233f3a82599fe54cdb2d978_af4301a526233f3a82599fe54cdb2d978}\label{namespaceclm__lake_af4301a526233f3a82599fe54cdb2d978_af4301a526233f3a82599fe54cdb2d978}} 
\index{clm\_lake@{clm\_lake}!invhsub@{invhsub}}
\index{invhsub@{invhsub}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{invhsub}{invhsub}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::invhsub\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a8037e9dedacdc3de509a07bb64ae6888_a8037e9dedacdc3de509a07bb64ae6888}\label{namespaceclm__lake_a8037e9dedacdc3de509a07bb64ae6888_a8037e9dedacdc3de509a07bb64ae6888}} 
\index{clm\_lake@{clm\_lake}!rair@{rair}}
\index{rair@{rair}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{rair}{rair}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::rair\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a7170735216051aad78d2dd134a877f28_a7170735216051aad78d2dd134a877f28}\label{namespaceclm__lake_a7170735216051aad78d2dd134a877f28_a7170735216051aad78d2dd134a877f28}} 
\index{clm\_lake@{clm\_lake}!cpair@{cpair}}
\index{cpair@{cpair}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{cpair}{cpair}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::cpair\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a3fac244fe0b15259e7c5a356e789c4cf_a3fac244fe0b15259e7c5a356e789c4cf}\label{namespaceclm__lake_a3fac244fe0b15259e7c5a356e789c4cf_a3fac244fe0b15259e7c5a356e789c4cf}} 
\index{clm\_lake@{clm\_lake}!con\_eps@{con\_eps}}
\index{con\_eps@{con\_eps}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{con\_eps}{con\_eps}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::con\+\_\+eps\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a2de62b5c8f337db5f6167f906b03fe7e_a2de62b5c8f337db5f6167f906b03fe7e}\label{namespaceclm__lake_a2de62b5c8f337db5f6167f906b03fe7e_a2de62b5c8f337db5f6167f906b03fe7e}} 
\index{clm\_lake@{clm\_lake}!one\_minus\_con\_eps@{one\_minus\_con\_eps}}
\index{one\_minus\_con\_eps@{one\_minus\_con\_eps}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{one\_minus\_con\_eps}{one\_minus\_con\_eps}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::one\+\_\+minus\+\_\+con\+\_\+eps\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_af248577ddf1ed21ea07bd4fac4389f2a_af248577ddf1ed21ea07bd4fac4389f2a}\label{namespaceclm__lake_af248577ddf1ed21ea07bd4fac4389f2a_af248577ddf1ed21ea07bd4fac4389f2a}} 
\index{clm\_lake@{clm\_lake}!con\_fvirt@{con\_fvirt}}
\index{con\_fvirt@{con\_fvirt}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{con\_fvirt}{con\_fvirt}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}) clm\+\_\+lake\+::con\+\_\+fvirt\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ae2ab76d5917aa2c84d4f5ca2e70a43f6_ae2ab76d5917aa2c84d4f5ca2e70a43f6}\label{namespaceclm__lake_ae2ab76d5917aa2c84d4f5ca2e70a43f6_ae2ab76d5917aa2c84d4f5ca2e70a43f6}} 
\index{clm\_lake@{clm\_lake}!spval@{spval}}
\index{spval@{spval}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{spval}{spval}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter, public clm\+\_\+lake\+::spval = 1.e36}

\mbox{\Hypertarget{namespaceclm__lake_a6ebc870fb8193360558d563c892581c1_a6ebc870fb8193360558d563c892581c1}\label{namespaceclm__lake_a6ebc870fb8193360558d563c892581c1_a6ebc870fb8193360558d563c892581c1}} 
\index{clm\_lake@{clm\_lake}!depth\_c@{depth\_c}}
\index{depth\_c@{depth\_c}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{depth\_c}{depth\_c}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::depth\+\_\+c = 50.\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_adfcb6f4aa3976cbc8957f61f8f0a2fb0_adfcb6f4aa3976cbc8957f61f8f0a2fb0}\label{namespaceclm__lake_adfcb6f4aa3976cbc8957f61f8f0a2fb0_adfcb6f4aa3976cbc8957f61f8f0a2fb0}} 
\index{clm\_lake@{clm\_lake}!zero\_h2o@{zero\_h2o}}
\index{zero\_h2o@{zero\_h2o}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{zero\_h2o}{zero\_h2o}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::zero\+\_\+h2o = 1e-\/12\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a2995fca78b6dd742076e5fc05f7e125f_a2995fca78b6dd742076e5fc05f7e125f}\label{namespaceclm__lake_a2995fca78b6dd742076e5fc05f7e125f_a2995fca78b6dd742076e5fc05f7e125f}} 
\index{clm\_lake@{clm\_lake}!wimp@{wimp}}
\index{wimp@{wimp}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{wimp}{wimp}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::wimp = 0.\+05\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a659fdd131d92d0ebd5e32b1ffe2fb989_a659fdd131d92d0ebd5e32b1ffe2fb989}\label{namespaceclm__lake_a659fdd131d92d0ebd5e32b1ffe2fb989_a659fdd131d92d0ebd5e32b1ffe2fb989}} 
\index{clm\_lake@{clm\_lake}!ssi@{ssi}}
\index{ssi@{ssi}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{ssi}{ssi}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::ssi = 0.\+033\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_acea160cb5ef1cf3ff319272727ca8d0f_acea160cb5ef1cf3ff319272727ca8d0f}\label{namespaceclm__lake_acea160cb5ef1cf3ff319272727ca8d0f_acea160cb5ef1cf3ff319272727ca8d0f}} 
\index{clm\_lake@{clm\_lake}!cnfac@{cnfac}}
\index{cnfac@{cnfac}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{cnfac}{cnfac}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), parameter clm\+\_\+lake\+::cnfac = 0.\+5\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a053fff2d9b5846a1fb92d11363c4de1f_a053fff2d9b5846a1fb92d11363c4de1f}\label{namespaceclm__lake_a053fff2d9b5846a1fb92d11363c4de1f_a053fff2d9b5846a1fb92d11363c4de1f}} 
\index{clm\_lake@{clm\_lake}!istsoil@{istsoil}}
\index{istsoil@{istsoil}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{istsoil}{istsoil}}
{\footnotesize\ttfamily integer, parameter clm\+\_\+lake\+::istsoil = 1\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_af8e43865b4193c8054259f04505fe69c_af8e43865b4193c8054259f04505fe69c}\label{namespaceclm__lake_af8e43865b4193c8054259f04505fe69c_af8e43865b4193c8054259f04505fe69c}} 
\index{clm\_lake@{clm\_lake}!sand@{sand}}
\index{sand@{sand}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{sand}{sand}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(19), parameter clm\+\_\+lake\+::sand = (/92.,80.,66.,20.,5.,43.,60.,10.,32.,51., 6.,22.,39.\+7,0.,100.,54.,17.,100.,92./)\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_ad8dffa65f4ea44f68bb15524ef9de9a2_ad8dffa65f4ea44f68bb15524ef9de9a2}\label{namespaceclm__lake_ad8dffa65f4ea44f68bb15524ef9de9a2_ad8dffa65f4ea44f68bb15524ef9de9a2}} 
\index{clm\_lake@{clm\_lake}!clay@{clay}}
\index{clay@{clay}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{clay}{clay}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(19), parameter clm\+\_\+lake\+::clay = (/ 3., 5.,10.,15.,5.,18.,27.,33.,33.,41.,47.,58.,14.\+7,0., 0., 8.\+5,54., 0., 3./)\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a8f0eea6d1129080dcf5607a1f00f6c20_a8f0eea6d1129080dcf5607a1f00f6c20}\label{namespaceclm__lake_a8f0eea6d1129080dcf5607a1f00f6c20_a8f0eea6d1129080dcf5607a1f00f6c20}} 
\index{clm\_lake@{clm\_lake}!zlak@{zlak}}
\index{zlak@{zlak}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{zlak}{zlak}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}) clm\+\_\+lake\+::zlak\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a6211ddac2ef19e0c2b92f7f9ce4d8ec6_a6211ddac2ef19e0c2b92f7f9ce4d8ec6}\label{namespaceclm__lake_a6211ddac2ef19e0c2b92f7f9ce4d8ec6_a6211ddac2ef19e0c2b92f7f9ce4d8ec6}} 
\index{clm\_lake@{clm\_lake}!dzlak@{dzlak}}
\index{dzlak@{dzlak}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{dzlak}{dzlak}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ad9f8eacbce8bb6a43583325fa13fba19_ad9f8eacbce8bb6a43583325fa13fba19}{nlevlake}}) clm\+\_\+lake\+::dzlak\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a0fc819a9aa7a9b11885ce4dbaa685884_a0fc819a9aa7a9b11885ce4dbaa685884}\label{namespaceclm__lake_a0fc819a9aa7a9b11885ce4dbaa685884_a0fc819a9aa7a9b11885ce4dbaa685884}} 
\index{clm\_lake@{clm\_lake}!zsoi@{zsoi}}
\index{zsoi@{zsoi}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{zsoi}{zsoi}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}) clm\+\_\+lake\+::zsoi\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a1b00598bdb5ccd040fca5053c353a4a9_a1b00598bdb5ccd040fca5053c353a4a9}\label{namespaceclm__lake_a1b00598bdb5ccd040fca5053c353a4a9_a1b00598bdb5ccd040fca5053c353a4a9}} 
\index{clm\_lake@{clm\_lake}!dzsoi@{dzsoi}}
\index{dzsoi@{dzsoi}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{dzsoi}{dzsoi}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(1\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}) clm\+\_\+lake\+::dzsoi\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a39381bf128f151ce5c8b869f0acce991_a39381bf128f151ce5c8b869f0acce991}\label{namespaceclm__lake_a39381bf128f151ce5c8b869f0acce991_a39381bf128f151ce5c8b869f0acce991}} 
\index{clm\_lake@{clm\_lake}!zisoi@{zisoi}}
\index{zisoi@{zisoi}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{zisoi}{zisoi}}
{\footnotesize\ttfamily real(\mbox{\hyperlink{namespaceclm__lake_ae18904fc5c68d5a6973946a8a9972022_ae18904fc5c68d5a6973946a8a9972022}{kind\+\_\+lake}}), dimension(0\+:\mbox{\hyperlink{namespaceclm__lake_ab6ea9bc6bd1db1f9ce986ada3c4b123d_ab6ea9bc6bd1db1f9ce986ada3c4b123d}{nlevsoil}}) clm\+\_\+lake\+::zisoi\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a3922db70cf29a1f55d77d3d86b91dc48_a3922db70cf29a1f55d77d3d86b91dc48}\label{namespaceclm__lake_a3922db70cf29a1f55d77d3d86b91dc48_a3922db70cf29a1f55d77d3d86b91dc48}} 
\index{clm\_lake@{clm\_lake}!saltlk\_t@{saltlk\_t}}
\index{saltlk\_t@{saltlk\_t}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{saltlk\_t}{saltlk\_t}}
{\footnotesize\ttfamily real, dimension(1\+:25), parameter clm\+\_\+lake\+::saltlk\+\_\+t = (/ 0.\+5, 0.,-\/0.\+5, 3., 4., 7., 8., 12., 13., 16., 19., 21., 23.\+5, 25., 26.,24.,23.,20.\+5,18., 15., 11.\+5, 8., 4., 1., 0.\+5/)\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_aede6513fda19d929a92a85971029c757_aede6513fda19d929a92a85971029c757}\label{namespaceclm__lake_aede6513fda19d929a92a85971029c757_aede6513fda19d929a92a85971029c757}} 
\index{clm\_lake@{clm\_lake}!month\_length@{month\_length}}
\index{month\_length@{month\_length}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{month\_length}{month\_length}}
{\footnotesize\ttfamily real, dimension(12), parameter clm\+\_\+lake\+::month\+\_\+length = (/ 31, 29, 31, 30, 31, 30, 31, 30, 30, 31, 30, 31 /)\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{namespaceclm__lake_a219e646e39eb849c33e3137355fd5c12_a219e646e39eb849c33e3137355fd5c12}\label{namespaceclm__lake_a219e646e39eb849c33e3137355fd5c12_a219e646e39eb849c33e3137355fd5c12}} 
\index{clm\_lake@{clm\_lake}!include\_all\_salty\_locations@{include\_all\_salty\_locations}}
\index{include\_all\_salty\_locations@{include\_all\_salty\_locations}!clm\_lake@{clm\_lake}}
\doxyparagraph{\texorpdfstring{include\_all\_salty\_locations}{include\_all\_salty\_locations}}
{\footnotesize\ttfamily logical, parameter clm\+\_\+lake\+::include\+\_\+all\+\_\+salty\+\_\+locations = .false.\hspace{0.3cm}{\ttfamily [private]}}

