Skip to content

Commit

Permalink
Changes to compile with nag on hobart
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Dec 21, 2017
1 parent d33131d commit a7e5afe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion biogeochem/EDCohortDynamicsMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ subroutine fuse_cohorts(patchptr, bc_in)
nextc%n*nextc%lmort_logging)/newn
currentCohort%lmort_infra = (currentCohort%n*currentCohort%lmort_infra + &
nextc%n*nextc%lmort_infra)/newn
currentCohort%lmort_collateral = (currentCohort%n*currentCohort%lmort_collateral + &
currentCohort%lmort_collateral = (currentCohort%n*currentCohort%lmort_collateral + &
nextc%n*nextc%lmort_collateral)/newn

currentCohort%fire_mort = (currentCohort%n*currentCohort%fire_mort + &
Expand Down
6 changes: 4 additions & 2 deletions biogeochem/EDPhysiologyMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -843,9 +843,11 @@ subroutine Growth_Derivatives( currentSite, currentCohort, bc_in)

if (hlm_use_ed_prescribed_phys .eq. itrue) then
if (currentCohort%canopy_layer .eq. 1) then
currentCohort%npp_acc_hold = EDPftvarcon_inst%prescribed_npp_canopy(currentCohort%pft) * currentCohort%c_area / currentCohort%n
currentCohort%npp_acc_hold = EDPftvarcon_inst%prescribed_npp_canopy(currentCohort%pft) &
* currentCohort%c_area / currentCohort%n
else
currentCohort%npp_acc_hold = EDPftvarcon_inst%prescribed_npp_understory(currentCohort%pft) * currentCohort%c_area / currentCohort%n
currentCohort%npp_acc_hold = EDPftvarcon_inst%prescribed_npp_understory(currentCohort%pft) &
* currentCohort%c_area / currentCohort%n
endif
endif

Expand Down

0 comments on commit a7e5afe

Please sign in to comment.