Skip to content

Commit

Permalink
Merge pull request #1180 from adrifoster/fire_sumfuel_bugfix
Browse files Browse the repository at this point in the history
Bug Fix - remove trunk loading from patch-level `sum_fuel` variable
  • Loading branch information
rgknox authored Mar 29, 2024
2 parents b054cd0 + 52eda6a commit 43c490d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fire/SFMainMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ subroutine charecteristics_of_fuel ( currentSite )
currentPatch%litter_moisture(tr_sf) = fuel_moisture(tr_sf)/MEF(tr_sf)
currentPatch%litter_moisture(dl_sf) = fuel_moisture(dl_sf)/MEF(dl_sf)
currentPatch%litter_moisture(lg_sf) = fuel_moisture(lg_sf)/MEF(lg_sf)

! remove trunks from patch%sum_fuel because they should not be included in fire equations
! NOTE: ACF will update this soon to be more clean/bug-proof
currentPatch%sum_fuel = currentPatch%sum_fuel - litt_c%ag_cwd(tr_sf)

else

Expand Down

0 comments on commit 43c490d

Please sign in to comment.