Code cleaning on land_cover_change routine and related routines. These changes avoids errors in hybrid run mode but do not change the results when running only MPI. These changes seems to remove the stribes that has been seen in LMDZOR hybrid mode. Following have been done:
stomate_prescribe
added explicit dimesions to arguments: done for clearifying but also necessairy when calling the subroutine on only 1 pixel.
alined arguments
argument lpft_replant is not longer optionel (wasn't possible before as it is in the middle of argument list)
remove xios_orchidee_send_field : it doesn't make sens as the subroutine is called from different places several time each timestep
sapiens_lcchange
call subroutine prescribe only for current pixel
save plant_status_init for all nvm and use it to restore later. It is needed on all nvm as prescribe subroutine is called each time on all pfts even if it only treats current pixel.
stomate_lpj
only arragenged argumets
src_xml
removed variables from stomate_prescribe
(No files)
Note: See TracChangeset
for help on using the changeset viewer.