next up previous contents index
Next: print_accum_fields Up: Module accumulMod (File: accumulMod.F90) Previous: Module accumulMod (File: accumulMod.F90)   Contents   Index


init_accum_field


INTERFACE:

   subroutine init_accum_field (name, units, desc, &
        accum_type, accum_period, numlev, subgrid_type, init_value)
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 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, r
     integer , intent(in) :: accum_period           !field accumulation period
     character(len=*), intent(in)   :: subgrid_type !["gridcell","landunit","c
     integer , intent(in) :: numlev                 !number of vertical levels
     real(r8), intent(in) :: init_value             !field initial or reset va
REVISION HISTORY:
   Created by Mariana Vertenstein 03/2003



Mariana Vertenstein 2004-06-21