Ignore:
Timestamp:
2011-06-17T14:02:17+02:00 (13 years ago)
Author:
didier.solyga
Message:

Externalized version merged with the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_stomate/stomate_data.f90

    r252 r257  
    156156       ! Oct 2010 : replaced by values given by N.Viovy 
    157157 
    158        IF ( bavard .GE. 1 ) WRITE(numout,*) '       specific leaf area (m**2/gC):', sla(j) !, 12./leaflife(j) 
     158       ! includes conversion from  
     159       !!       sla(j) = 2. * 1e-4 * EXP(5.615 - 0.46 * log(12./leaflife_tab(j))) 
     160 
     161       IF ( leaf_tab(j) .EQ. 2 ) THEN 
     162 
     163          ! needle leaved tree 
     164          sla(j) = 2. * ( 10. ** ( 2.29 - 0.4 * LOG10(12./leaflife_tab(j)) ) ) *1e-4 
     165 
     166       ELSE 
     167 
     168          ! broad leaved tree or grass (Reich et al 1992) 
     169          sla(j) = 2. * ( 10. ** ( 2.41 - 0.38 * LOG10(12./leaflife_tab(j)) ) ) *1e-4 
     170 
     171       ENDIF 
     172 
     173!!$      IF ( leaf_tab(j) .EQ. 1 ) THEN 
     174!!$ 
     175!!$        ! broad leaved tree 
     176!!$ 
     177!!$        sla(j) = 2. * ( 10. ** ( 2.41 - 0.38 * LOG10(12./leaflife_tab(j)) ) ) *1e-4 
     178!!$ 
     179!!$      ELSE 
     180!!$ 
     181!!$        ! needle leaved or grass (Reich et al 1992) 
     182!!$ 
     183!!$        sla(j) = 2. * ( 10. ** ( 2.29 - 0.4 * LOG10(12./leaflife_tab(j)) ) ) *1e-4 
     184!!$ 
     185!!$      ENDIF 
     186!!$ 
     187!!$      IF ( ( leaf_tab(j) .EQ. 2 ) .AND. ( pheno_type_tab(j) .EQ. 2 ) ) THEN 
     188!!$ 
     189!!$        ! summergreen needle leaf 
     190!!$ 
     191!!$        sla(j) = 1.25 * sla(j) 
     192!!$ 
     193!!$      ENDIF 
     194 
     195       IF ( bavard .GE. 1 ) WRITE(numout,*) '       specific leaf area (m**2/gC):', sla(j), 12./leaflife_tab(j) 
    159196 
    160197       ! 
     
    175212             bm_sapl(j,icarbres) = bm_sapl_carbres * bm_sapl(j,ileaf) 
    176213          ELSE 
    177              bm_sapl(j,icarbres) = 0.0 
     214             bm_sapl(j,icarbres) = zero 
    178215          ENDIF 
    179216 
     
    203240          bm_sapl(j,icarbres) = init_sapl_mass_carbres *bm_sapl(j,ileaf) 
    204241 
    205           bm_sapl(j,isapabove) = 0. 
    206           bm_sapl(j,isapbelow) = 0. 
    207  
    208           bm_sapl(j,iheartabove) = 0. 
    209           bm_sapl(j,iheartbelow) = 0. 
     242          bm_sapl(j,isapabove) = zero 
     243          bm_sapl(j,isapbelow) = zero 
     244 
     245          bm_sapl(j,iheartabove) = zero 
     246          bm_sapl(j,iheartbelow) = zero 
    210247 
    211248       ENDIF 
Note: See TracChangeset for help on using the changeset viewer.