next up previous contents
Next: Fortran: Module Interface inicFileMod Up: Fortran: Module Interface histFileMod Previous: iniTimeConst   Contents

iniTimeVar


INTERFACE:

 subroutine iniTimeVar (readini, eccen, obliqr, lambm0 , mvelpp)
DESCRIPTION:

   Initializes the following time varying variables:
   water      : h2osno, h2ocan, h2osoi_liq, h2osoi_ice, h2osoi_vol
   snow       : snowdp, snowage, snl, dz, z, zi 
   temperature: t_soisno, t_veg, t_grnd
   The variable, h2osoi_vol, is needed by clm_soilalb -this is not needed on 
   restart since it is computed before the soil albedo computation is called.
   The remaining variables are initialized by calls to ecosystem dynamics
   and albedo subroutines.
USES:
   use shr_kind_mod, only: r8 => shr_kind_r8
   use clmtype
   use clmpoint
   use globals
   use clm_varpar, only : nlevsoi, nlevsno, nlevlak
   use clm_varcon, only : bdsno, istice, istwet, istsoil, denice, denh2o, spval, zlnd 
   use shr_const_mod, only : SHR_CONST_TKFRZ
   use inicFileMod, only : inicrd
   use time_manager, only : get_nstep, get_curr_calday    
   use spmdMod, only : masterproc
   use EcosystemDynMod, only : EcosystemDyn
   use FracWetMod, only : FracWet
   use SurfaceAlbedoMod, only : SurfaceAlbedo
ARGUMENTS:
   implicit none
   logical , intent(in) :: readini  !true if read in initial data set
   real(r8), intent(in) :: eccen    !Earth's orbital eccentricity
   real(r8), intent(in) :: obliqr   !Earth's obliquity in radians
   real(r8), intent(in) :: lambm0   !Mean longitude of perihelion at the vernal equinox (radians)
   real(r8), intent(in) :: mvelpp   !Earth's moving vernal equinox long. of perihelion + pi (radians)
CALLED FROM:
   subroutine initialize in module initializeMod
REVISION HISTORY:
   Created by Mariana Vertenstein



Mariana Vertenstein 2003-01-14