Changes between Version 25 and Version 26 of Branches/MergeOCN/Goll


Ignore:
Timestamp:
2015-05-27T11:44:27+02:00 (9 years ago)
Author:
dgoll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Branches/MergeOCN/Goll

    v25 v26  
    222222}}} 
    223223 
     224{{{ 
     225                ! Calculate the available biomass in roots, sapwood and leaves (gC ind-1) 
     226                IF ( biomass(i,j,ileaf,icarbon) .LT. min_stomate .AND. biomass(i,j,iroot,icarbon) .LT. min_stomate) THEN 
     227 
     228                   Cs_grass = biomass(i,j,isapabove,icarbon) 
     229 
     230                ELSE 
     231                   WRITE(6,*) 'There is leaf or root carbon that should not be here, something could have gone wrong in senescence' 
     232                   !DSGdebug_07: that doesn't give you the right to violate mass consrvation  
     233                   !Cs_grass = biomass(i,j,isapabove,icarbon) 
     234                   Cs_grass = biomass(i,j,isapabove,icarbon) +  & 
     235                              biomass(i,j,ileaf,icarbon) +  & 
     236                              biomass(i,j,iroot,icarbon) 
     237                   !DSGdebug_07:  
     238                ENDIF 
     239}}} 
    224240 
    225241= '''Mass conservation checks''' =