Skip to content

Commit

Permalink
Fix default active status of LITTERC_HR
Browse files Browse the repository at this point in the history
I had accidentally made LITTERC_HR inactive by default instead of
C13_LITTERC_HR. This commit fixes that mistake.
  • Loading branch information
billsacks committed Oct 28, 2018
1 parent 52866be commit 37ab216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/soilbiogeochem/SoilBiogeochemCarbonFluxType.F90
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ subroutine InitHistory(this, bounds, carbon_type)
this%lithr_col(begc:endc) = spval
call hist_addfld1d (fname='LITTERC_HR', units='gC/m^2/s', &
avgflag='A', long_name='litter C heterotrophic respiration', &
ptr_col=this%lithr_col, default='inactive')
ptr_col=this%lithr_col)

this%somhr_col(begc:endc) = spval
call hist_addfld1d (fname='SOILC_HR', units='gC/m^2/s', &
Expand Down Expand Up @@ -386,7 +386,7 @@ subroutine InitHistory(this, bounds, carbon_type)
this%lithr_col(begc:endc) = spval
call hist_addfld1d (fname='C13_LITTERC_HR', units='gC13/m^2/s', &
avgflag='A', long_name='C13 fine root C litterfall to litter 3 C', &
ptr_col=this%lithr_col)
ptr_col=this%lithr_col, default='inactive')

this%somhr_col(begc:endc) = spval
call hist_addfld1d (fname='C13_SOILC_HR', units='gC13/m^2/s', &
Expand Down

0 comments on commit 37ab216

Please sign in to comment.