Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | mb | |||
integer, | intent(in) | :: | nlut | |||
integer, | intent(in) | :: | mcrdb | |||
integer, | intent(in) | :: | meap | |||
real(kind=dp), | intent(in) | :: | lat(:) |
subroutine vegetation_initialise(mb, nlut, mcrdb, meap, lat)
use input, only : get_config_fid
use output, only : output_register_hydrotope_var
integer, intent(in) :: mb, nlut, mcrdb, meap
real(dp), intent(in) :: lat(:)
read(get_config_fid(), VEGETATION_PARAMETERS)
call vegetation_allocate(mb, nlut, mcrdb, meap)
call vegetation_prepare_parameters(lat)
! output variables
transpiration_output_id = output_register_hydrotope_var("transpiration", .false.)
vegetation_water_stress_oid = &
output_register_hydrotope_var("vegetation_water_stress")
vegetation_temp_stress_oid = &
output_register_hydrotope_var("vegetation_temperature_stress")
heat_unit_fract_output_id = output_register_hydrotope_var("heat_unit_fraction")
biomass_total_output_id = output_register_hydrotope_var("biomass_total")
leaf_area_index_output_id = output_register_hydrotope_var("leaf_area_index")
root_depth_output_id = output_register_hydrotope_var("root_depth")
end subroutine vegetation_initialise