321 | | |
| 321 | |
| 322 | * In OCN (rev 19) this block code appears twice. |
| 323 | {{{ |
| 324 | total_bm_sapl(:,:)=zero |
| 325 | DO k = 1, nparts |
| 326 | WHERE(d_ind(:,j).GT.min_stomate.AND.vn(:).GT.min_stomate) |
| 327 | |
| 328 | total_bm_sapl(:,icarbon) = total_bm_sapl(:,icarbon) + & |
| 329 | bm_sapl(j,k,icarbon) * d_ind(:,j) / vn(:) |
| 330 | total_bm_sapl(:,initrogen) = total_bm_sapl(:,initrogen) + & |
| 331 | bm_sapl(j,k,initrogen) * d_ind(:,j) / vn(:) |
| 332 | |
| 333 | ENDWHERE |
| 334 | ENDDO |
| 335 | }}} |
| 336 | The first occurance is useless. It is the same in the trunk. In OCN, it is problematic because we limit total_bm_sapl(:,initrogen) to the soil_n_min only after the first block of initialization. And consequently, this limitation is not accounted for, in the rest of the code ... This is correct in the merge version |
| 337 | |
| 338 | |
| 339 | |