wet_all_initial.f90 Source File


This file depends on

sourcefile~~wet_all_initial.f90~~EfferentGraph sourcefile~wet_all_initial.f90 wet_all_initial.f90 sourcefile~hru_module.f90 hru_module.f90 sourcefile~wet_all_initial.f90->sourcefile~hru_module.f90 sourcefile~hydrograph_module.f90 hydrograph_module.f90 sourcefile~wet_all_initial.f90->sourcefile~hydrograph_module.f90 sourcefile~basin_module.f90 basin_module.f90 sourcefile~hydrograph_module.f90->sourcefile~basin_module.f90 sourcefile~time_module.f90 time_module.f90 sourcefile~hydrograph_module.f90->sourcefile~time_module.f90

Source Code

      subroutine wet_all_initial
      
      use hru_module, only : hru
      use hydrograph_module, only : sp_ob, wet, wet_om_init
      
      implicit none
      
      integer :: iihru = 0      !              |hru counter
      integer :: iprop = 0      !none          |pointer to surface storage data 

      do iihru = 1, sp_ob%hru
        !! set initial volumes and convert units
        iprop = hru(iihru)%dbs%surf_stor
        if (iprop > 0) then
          call wet_initial (iihru)
          wet_om_init(iihru) = wet(iihru)
        end if
      end do

      return
      end subroutine wet_all_initial