Skip to content

Commit

Permalink
Added a call in the interface that updates some fates internal data s…
Browse files Browse the repository at this point in the history
…tructures following restart
  • Loading branch information
rgknox committed Oct 26, 2018
1 parent 8602da3 commit 14649aa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/utils/clmfates_interfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1138,12 +1138,23 @@ subroutine restart( this, bounds_proc, ncid, flag, waterstate_inst, &
this%fates(nc)%bc_in(s) )
end do


! ------------------------------------------------------------------------
! Update diagnostics of FATES ecosystem structure used in HLM.
! ------------------------------------------------------------------------
call this%wrap_update_hlmfates_dyn(nc,bounds_clump, &
waterstate_inst,canopystate_inst,frictionvel_inst)

! ------------------------------------------------------------------------
! Update the 3D patch level radiation absorption fractions
! ------------------------------------------------------------------------
call this%fates_restart%update_3dpatch_radiation(nc, &
this%fates(nc)%nsites, &
this%fates(nc)%sites, &
this%fates(nc)%bc_out)



! ------------------------------------------------------------------------
! Update history IO fields that depend on ecosystem dynamics
! ------------------------------------------------------------------------
Expand Down

0 comments on commit 14649aa

Please sign in to comment.