Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

Commit

Permalink
Added water storage flux to termination mortality.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgknox committed Jan 10, 2018
1 parent 898c3ae commit c0ca0a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion biogeochem/EDCohortDynamicsMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,10 @@ subroutine terminate_cohorts( currentSite, patchptr, level )
currentSite%root_litter_diagnostic_input_carbonflux(currentCohort%pft) + &
currentCohort%n * (currentCohort%br+currentCohort%bstore) * hlm_days_per_year / AREA

if (hlm_use_planthydro.eq.itrue) call DeallocateHydrCohort(currentCohort)
if( hlm_use_planthydro == itrue ) then
call AccumulateMortalityWaterStorage(currentSite,currentCohort,currentCohort%n)
call DeallocateHydrCohort(currentCohort)
end if

deallocate(currentCohort)
endif
Expand Down

0 comments on commit c0ca0a2

Please sign in to comment.