Skip to content

Commit

Permalink
Merge pull request #548 from rgknox/fates-radrestart-refactor
Browse files Browse the repository at this point in the history
fates refactor of 3d arrays in restart - api changes
  • Loading branch information
rgknox authored Nov 6, 2018
2 parents c27f7fa + 46895e9 commit a594edf
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 a594edf

Please sign in to comment.