next up previous contents
Next: print_accum_fields Up: Fortran: Module Interface accumulMod Previous: Fortran: Module Interface accumulMod   Contents

init_accum_field


INTERFACE:

   subroutine init_accum_field (name, units, desc, &
        accum_type, accum_period, numlev, subgrid_type, init_value, type2d)
DESCRIPTION:

Initialize accumulation fields. This subroutine sets: o name of accumulated field o units of accumulated field o accumulation type of accumulated field o description of accumulated fields: accdes o accumulation period for accumulated field (in iterations) o initial value of accumulated field


USES:

     use shr_const_mod, only: SHR_CONST_CDAY
     use clm_time_manager, only : get_step_size
     use decompMod, only : get_proc_bounds, get_proc_global
ARGUMENTS:
     implicit none
     character(len=*), intent(in) :: name             !field name
     character(len=*), intent(in) :: units            !field units
     character(len=*), intent(in) :: desc             !field description
     character(len=*), intent(in) :: accum_type       !field type: tavg, runm, runa, ins
     integer , intent(in) :: accum_period             !field accumulation period
     character(len=*), intent(in) :: subgrid_type     !["gridcell","landunit","column" or "pft"]
     integer , intent(in) :: numlev                   !number of vertical levels
     real(r8), intent(in) :: init_value               !field initial or reset value
     character(len=*), intent(in), optional :: type2d !level type (optional) - needed if numlev > 1
REVISION HISTORY:
   Created by Mariana Vertenstein 03/2003
LOCAL VARIABLES:




Erik Kluzek 2011-06-15