Changes between Version 85 and Version 86 of DevelopmentActivities/MergeOCN/Vuichard


Ignore:
Timestamp:
2014-05-06T12:06:14+02:00 (10 years ago)
Author:
nvuilsce
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentActivities/MergeOCN/Vuichard

    v85 v86  
    319319}}} 
    320320We replace '''ilabile''' by '''k''' in order to fill all the biomass pools and not only the labile one.  
    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