Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | mb | |||
integer, | intent(inout) | :: | neap(:) | |||
real(kind=dp), | intent(inout) | :: | sbar(:) |
subroutine hydrotope_initialise(mb, neap, sbar)
use input, only : get_config_fid
use output, only: output_register_hydrotope_var, output_register_subbasin_var
integer, intent(in) :: mb
integer, intent(inout) :: neap(:)
real(dp), intent(inout) :: sbar(:)
precipitation_output_id = output_register_hydrotope_var("precipitation", .false.)
tmin_output_id = output_register_subbasin_var("tmin")
tmax_output_id = output_register_subbasin_var("tmax")
water_yield_output_id = output_register_subbasin_var("water_yield", .false.)
tmean_output_id = output_register_subbasin_var("tmean")
soil_water_content_output_id = output_register_hydrotope_var("soil_water_content")
call hydrotope_read_input
call hydrotope_subbasin_division(mb, neap, sbar)
call hydrotope_allocate(mb)
end subroutine hydrotope_initialise