wet_fp_init.f90 Source File


This file depends on

sourcefile~~wet_fp_init.f90~~EfferentGraph sourcefile~wet_fp_init.f90 wet_fp_init.f90 sourcefile~hydrograph_module.f90 hydrograph_module.f90 sourcefile~wet_fp_init.f90->sourcefile~hydrograph_module.f90 sourcefile~sd_channel_module.f90 sd_channel_module.f90 sourcefile~wet_fp_init.f90->sourcefile~sd_channel_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_fp_init
      
!!    ~ ~ ~ PURPOSE ~ ~ ~
!!    this subroutine routes computes the intial storage in flood plain wetlands

      use sd_channel_module
      use hydrograph_module
      
      
      implicit none
      
      integer :: ihru = 0   !none       |hru number

      !! total wetland flood plain volume at start of simulation
      do jrch = 1, sp_ob%chandeg
        wet_stor(jrch) = hz
        if (sd_ch(jrch)%fp%hru_tot > 0) then
          do ihru = 1, sd_ch(jrch)%fp%hru_tot
            wet_stor(jrch) = wet_stor(jrch) + wet(ihru)
          end do
        end if
      end do
        
      return
      end subroutine wet_fp_init