647 | | |
| 647 | == 14. Mass conservation issue: stomate_growth_fun_all.f90 == |
| 648 | All the circ_class_biomass pools have to updated after the actual growth (accounting for nutrient limitation) is known. |
| 649 | {{{ |
| 650 | !DSGdebug_16 IF((m .EQ. initrogen).OR.(m .EQ. iphosphorus)) THEN |
| 651 | ! we need to synchronize all the circ_class pools if it is |
| 652 | ! carbon or nutrients: |
| 653 | circ_class_biomass(ipts,j,l,ileaf,m) = temp_share * & |
| 654 | biomass(ipts,j,ileaf,m) / circ_class_n(ipts,j,l) |
| 655 | circ_class_biomass(ipts,j,l,isapabove,m) = temp_share * & |
| 656 | biomass(ipts,j,isapabove,m) / circ_class_n(ipts,j,l) |
| 657 | circ_class_biomass(ipts,j,l,isapbelow,m) = temp_share * & |
| 658 | biomass(ipts,j,isapbelow,m) / circ_class_n(ipts,j,l) |
| 659 | circ_class_biomass(ipts,j,l,iheartabove,m) = temp_share * & |
| 660 | biomass(ipts,j,iheartabove,m) / circ_class_n(ipts,j,l) |
| 661 | circ_class_biomass(ipts,j,l,iheartbelow,m) = temp_share * & |
| 662 | biomass(ipts,j,iheartbelow,m) / circ_class_n(ipts,j,l) |
| 663 | circ_class_biomass(ipts,j,l,iroot,m) = temp_share * & |
| 664 | biomass(ipts,j,iroot,m) / circ_class_n(ipts,j,l) |
| 665 | !DSGdebug_12a |
| 666 | circ_class_biomass(ipts,j,l,ifruit,m) = temp_share * & |
| 667 | biomass(ipts,j,ifruit,m) / circ_class_n(ipts,j,l) |
| 668 | !DSGdebug_12a |
| 669 | !DSGdebug_16 ENDIF |
| 670 | }}} |