Skip to content

Commit

Permalink
cleaned out unnecessary patch order checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rgknox committed Dec 30, 2024
1 parent 6b4c08f commit 50ea2d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/EDMainMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module EDMainMod
use FatesLitterMod , only : litter_type
use FatesLitterMod , only : ncwd
use EDtypesMod , only : ed_site_type
use EDTypesMod , only : set_patchno
use FatesPatchMod , only : fates_patch_type
use FatesCohortMod , only : fates_cohort_type
use EDTypesMod , only : AREA
Expand Down Expand Up @@ -317,8 +318,6 @@ subroutine ed_ecosystem_dynamics(currentSite, bc_in, bc_out)
! Final instantaneous mass balance check
call TotalBalanceCheck(currentSite,5)




end subroutine ed_ecosystem_dynamics

Expand Down Expand Up @@ -835,6 +834,9 @@ subroutine ed_update_site( currentSite, bc_in, bc_out, is_restarting )
type (fates_patch_type) , pointer :: currentPatch
!-----------------------------------------------------------------------

! check patch order (set second argument to true)
! call set_patchno(currentSite,.true.,1)

if(hlm_use_sp.eq.ifalse .and. (.not.is_restarting))then
call canopy_spread(currentSite)
end if
Expand Down

0 comments on commit 50ea2d3

Please sign in to comment.