Changes between Version 3 and Version 4 of Branches/MergeOCN/Goll


Ignore:
Timestamp:
2015-05-07T09:13:15+02:00 (9 years ago)
Author:
dgoll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Branches/MergeOCN/Goll

    v3 v4  
    88 
    99The carbon being allocated to biomass pools must no be substracted before nutrient limitation of allocation is computed. 
    10 This can be fixed by: 
     10This can be fixed by following: 
     11{{{ 
     12!DSGdebug_01 
     13! do NOT this now, do it after nutrient limitation on allocation is considered in bm_alloc_tot(ipts,j) 
     14!    ! Update the labile carbon pool  
     15!    biomass(ipts,j,ilabile,icarbon) = biomass(ipts,j,ilabile,icarbon) - & 
     16!    bm_alloc_tot(ipts,j) 
     17!DSGdebug_01 
     18 
     19    !! 3.10 Maintenance respiration 
     20 
     21}}} 
    1122{{{ 
    1223          ! The calculation of ::resp_maint is solely based on the demand i.e. 
     
    1627 
    1728          !DSGdebug_01  
     29          ! DEFAULT CASE: There is no deficit which must be subtracted from labile 
    1830          deficit = zero 
    1931          !DSGdebug_01 
     
    3143                ! Truncate the maintenance respiration to the available carbon 
    3244                resp_maint(ipts,j) = bm_alloc_tot(ipts,j) 
     45                 
    3346 
    3447                !DSGdebug_01  
     48                ! There is no deficit which must be subtracted from labile 
    3549                deficit = zero 
    3650                !DSGdebug_01 
     
    4458 
    4559          !DSGdebug_01  
     60          ! Subtracted the deficit from labile pool 
    4661          biomass(ipts,j,ilabile,icarbon) = biomass(ipts,j,ilabile,icarbon) - & 
    4762                                            (resp_maint(ipts,j) + deficit) 
     
    7590 
    7691    !DSGdebug_01 
     92    ! This is the right spot to remove bm_alloc_tot: 
    7793    biomass(:,:,ilabile,icarbon)   = biomass(:,:,ilabile,icarbon)   - bm_alloc_tot(:,:) 
    7894    !DSGdebug_01