| 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 | }}} |