next up previous contents
Next: Fortran: Module Interface SoilHydrologyMod Up: Fortran: Module Interface SNICARMod Previous: Combo   Contents

BuildSnowFilter


INTERFACE:

   subroutine BuildSnowFilter(lbc, ubc, num_nolakec, filter_nolakec, &
                              num_snowc, filter_snowc, &
                              num_nosnowc, filter_nosnowc)
DESCRIPTION:

Constructs snow filter for use in vectorized loops for snow hydrology.


USES:

     use clmtype
ARGUMENTS:
     implicit none
     integer, intent(in)  :: lbc, ubc                    ! column bounds
     integer, intent(in)  :: num_nolakec                 ! number of column non-lake points in column filter
     integer, intent(in)  :: filter_nolakec(ubc-lbc+1)   ! column filter for non-lake points
     integer, intent(out) :: num_snowc                   ! number of column snow points in column filter
     integer, intent(out) :: filter_snowc(ubc-lbc+1)     ! column filter for snow points
     integer, intent(out) :: num_nosnowc                 ! number of column non-snow points in column filter
     integer, intent(out) :: filter_nosnowc(ubc-lbc+1)   ! column filter for non-snow points
CALLED FROM:
   subroutine Hydrology2 in Hydrology2Mod
   subroutine CombineSnowLayers in this module
REVISION HISTORY:
   2003 July 31: Forrest Hoffman
LOCAL VARIABLES:
   local pointers to implicit in arguments
     integer , pointer :: snl(:)                        ! number of snow layers
   !OTHER LOCAL VARIABLES:



Erik Kluzek 2011-06-15