Changes between Version 57 and Version 58 of Branches/MergeOCN/Goll


Ignore:
Timestamp:
2015-06-16T14:23:46+02:00 (9 years ago)
Author:
dgoll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Branches/MergeOCN/Goll

    v57 v58  
    689689                                                      dt / leaffall(ivm) * recycle_root(ivm) 
    690690 
    691                 circ_class_biomass(:,ivm,icirc,ilabile,iphosphorus) =                                      & 
    692                                                   circ_class_biomass(:,ivm,icirc,ilabile,iphosphorus)      & 
    693                                                   +  circ_class_biomass(:,ivm,icirc,ileaf,iphosphorus) *   & ! add from leaves 
    694                      !DSGdebug_12                                (un - dt / leaffall(ivm) * p_recycle_leaf)            & 
    695                                                      ( dt / leaffall(ivm)) * p_recycle_leaf(ivm)           & 
    696                                                   +  circ_class_biomass(:,ivm,icirc,iroot,iphosphorus) *   & ! add from roots 
    697                      !DSGdebug_12                                (un - dt / leaffall(ivm) * p_recycle_root)            
    698                                                      ( dt / leaffall(ivm)) * p_recycle_root(ivm) 
    699  
    700                      !DSGdebug_12  
    701691 
    702692 
     
    712702                                                                      (un - dt / leaffall(ivm)) 
    713703 
    714                 circ_class_biomass(:,ivm,icirc,ileaf,iphosphorus) = circ_class_biomass(:,ivm,icirc,ileaf,iphosphorus) * & 
    715                                                                       (un - dt / leaffall(ivm)) 
    716                 circ_class_biomass(:,ivm,icirc,iroot,iphosphorus) = circ_class_biomass(:,ivm,icirc,iroot,iphosphorus) * & 
    717                                                                       (un - dt / leaffall(ivm)) 
     704 
    718705             !DSGdebug_16   ! add the recycled nutrients to labile pool:       
    719706             !DSGdebug_16   circ_class_biomass(:,ivm,icirc,ilabile,initrogen) =                                      & 
     
    726713             !DSGdebug_16                                         dt / leaffall(ivm) * recycle_root(ivm) 
    727714 
    728              !DSGdebug_16   circ_class_biomass(:,ivm,icirc,ilabile,iphosphorus) =                                      & 
    729              !DSGdebug_16                                     circ_class_biomass(:,ivm,icirc,ilabile,iphosphorus)      & 
    730              !DSGdebug_16                                     +  circ_class_biomass(:,ivm,icirc,ileaf,iphosphorus) *   & ! add from leaves 
    731              !DSGdebug_16        !DSGdebug_12                                (un - dt / leaffall(ivm) * p_recycle_leaf)            & 
    732              !DSGdebug_16                                        ( dt / leaffall(ivm)) * p_recycle_leaf(ivm)           & 
    733              !DSGdebug_16                                     +  circ_class_biomass(:,ivm,icirc,iroot,iphosphorus) *   & ! add from roots 
    734              !DSGdebug_16        !DSGdebug_12                                (un - dt / leaffall(ivm) * p_recycle_root)            
    735              !DSGdebug_16                                        ( dt / leaffall(ivm)) * p_recycle_root(ivm)            
    736              !DSGdebug_16        !DSGdebug_12  
     715 
     716}}} 
     717[...] 
     718{{{ 
     719       !! 6.1 For deciduous trees: next to leaves, also fruits and fine roots are dropped  
     720       !  For deciduous trees: next to leaves, also fruits and fine roots are dropped: fruit ::biomass(:,ivm,ifruit)  
     721       !  and fine root ::biomass(:,ivm,iroot) carbon pools are set to zero. 
     722       IF ( is_tree(ivm) .AND. ( senescence_type(ivm) .NE. 'none' ) ) THEN 
     723 
     724          ! Check whether we shed the remaining leaves. The condition depends on biomass(ileaf) 
     725          ! so first calculate the sheding at the tree level. because biomass(ileaf) is not  
     726          ! changed at the tree level the same statement can then be used at the stand level. 
     727          DO icirc = 1,ncirc 
     728 
     729             ! check whether we shed the remaining leaves 
     730             WHERE ( ( biomass(:,ivm,ileaf,icarbon) .GT. zero ) .AND. senescence(:,ivm) .AND. & 
     731                  ( biomass(:,ivm,ileaf,icarbon) .LT. (lai_initmin(ivm) / 2.)/sla(ivm) ) ) 
     732 
     733                ! Tree level (g tree-1) 
     734                !DSGdebug_16: the recycling has to be done before the source 
     735                !pools are set to zero, as these pool are part of the equation: 
     736 
     737                ! relocate nutrient  
     738                circ_class_biomass(:,ivm,icirc,ilabile ,initrogen)  =                           & 
     739                !DSGdebug_14 
     740                         circ_class_biomass(:,ivm,icirc,ilabile ,initrogen)                     & 
     741 
     742 
     743                !DSGdebug_14 
     744                         + circ_class_biomass(:,ivm,icirc,ileaf ,initrogen) * recycle_leaf(ivm) & 
     745                         + circ_class_biomass(:,ivm,icirc,iroot ,initrogen) * recycle_root(ivm) 
     746 
     747 
     748 
     749                circ_class_biomass(:,ivm,icirc,ileaf,icarbon)       = zero 
     750                circ_class_biomass(:,ivm,icirc,iroot,icarbon)       = zero 
     751                circ_class_biomass(:,ivm,icirc,ifruit,icarbon)      = zero 
     752                circ_class_biomass(:,ivm,icirc,ileaf ,initrogen)    = zero 
     753                circ_class_biomass(:,ivm,icirc,iroot ,initrogen)    = zero 
     754                circ_class_biomass(:,ivm,icirc,ifruit,initrogen)    = zero 
     755 
     756 
     757               !DSGdebug_16 circ_class_biomass(:,ivm,icirc,ilabile ,initrogen)  =                           & 
     758               !DSGdebug_16 !DSGdebug_14 
     759               !DSGdebug_16          circ_class_biomass(:,ivm,icirc,ilabile ,initrogen)                     & 
     760               !DSGdebug_16 !DSGdebug_14 
     761               !DSGdebug_16          + circ_class_biomass(:,ivm,icirc,ileaf ,initrogen) * recycle_leaf(ivm) & 
     762               !DSGdebug_16          + circ_class_biomass(:,ivm,icirc,iroot ,initrogen) * recycle_root(ivm) 
     763 
     764 
    737765}}} 
    738766