Skip to content

Commit

Permalink
Removed references ti nlevleaf and nclmax in the restart code
Browse files Browse the repository at this point in the history
  • Loading branch information
rgknox committed Nov 4, 2018
1 parent e0495bb commit 1f0db48
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions main/FatesRestartInterfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,6 @@ end subroutine set_restart_var

subroutine set_restart_vectors(this,nc,nsites,sites)

use EDTypesMod, only : nclmax
use EDTypesMod, only : nlevleaf
use FatesInterfaceMod, only : fates_maxElementsPerPatch
use FatesInterfaceMod, only : numpft
use EDTypesMod, only : ed_site_type
Expand Down Expand Up @@ -1331,10 +1329,6 @@ subroutine set_restart_vectors(this,nc,nsites,sites)
io_idx_pa_ib = io_idx_pa_ib + 1
end do


if ( debug ) write(fates_log(),*) 'CLTV 1186 ',nlevleaf,numpft,nclmax


! Set the first cohort index to the start of the next patch, increment
! by the maximum number of cohorts per patch
io_idx_co_1st = io_idx_co_1st + fates_maxElementsPerPatch
Expand Down Expand Up @@ -1416,8 +1410,6 @@ subroutine create_patchcohort_structure(this, nc, nsites, sites, bc_in)
use EDTypesMod, only : ed_patch_type
use EDTypesMod, only : ncwd
use EDTypesMod, only : maxSWb
use EDTypesMod, only : nlevleaf
use EDTypesMod, only : nclmax
use FatesInterfaceMod, only : fates_maxElementsPerPatch
use EDTypesMod, only : maxpft
use EDTypesMod, only : area
Expand Down Expand Up @@ -1614,8 +1606,6 @@ subroutine get_restart_vectors(this, nc, nsites, sites)
use EDTypesMod, only : ed_patch_type
use EDTypesMod, only : ncwd
use EDTypesMod, only : maxSWb
use EDTypesMod, only : nlevleaf
use EDTypesMod, only : nclmax
use FatesInterfaceMod, only : numpft
use FatesInterfaceMod, only : fates_maxElementsPerPatch
use EDTypesMod, only : numWaterMem
Expand Down

0 comments on commit 1f0db48

Please sign in to comment.