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_resp.f90

    r64 r257  
    9595       ! 1.1.1 soil levels 
    9696 
    97        z_soil(0) = 0. 
     97       z_soil(0) = zero 
    9898       z_soil(1:nbdl) = diaglev(1:nbdl) 
    9999 
     
    116116 
    117117       ! 1.3.1 rpc is an integration constant such that the integral of the root profile is 1. 
    118        rpc(:) = 1. / ( 1. - EXP( -z_soil(nbdl) / rprof(:,j) ) ) 
     118 
     119       rpc(:) = un / ( un - EXP( -z_soil(nbdl) / rprof(:,j) ) ) 
    119120 
    120121       ! 1.3.2 integrate over the nbdl levels 
     
    174175          coeff_maint(:,j,k) = & 
    175176               MAX( (coeff_maint_zero(j,k)*dt/one_day) * & 
    176                ( 1. + slope(:) * (t_maint_radia(:,k)-ZeroCelsius) ), zero ) 
     177               ( un + slope(:) * (t_maint_radia(:,k)-ZeroCelsius) ), zero ) 
    177178 
    178179       ENDDO 
     
    214215!!$                                 ( .3*lai(i,j) + 1.4 ) / lai(i,j) 
    215216!!$                         ENDIF 
    216 !!$                   resp_maint_part_radia(i,j,k) = coeff_maint(i,j,k) * biomass(i,j,k) * & 
    217 !!$                        ( .3*lai(i,j) + 1.4*(1.-exp(-.5*lai(i,j))) ) / lai(i,j) 
    218  
    219217                   resp_maint_part_radia(i,j,k) = coeff_maint(i,j,k) * biomass(i,j,k) * & 
    220218                        ( maint_resp_min_vmax*lai(i,j) + maint_resp_coeff*(1.-exp(-ext_coeff(j)*lai(i,j))) ) / lai(i,j) 
Note: See TracChangeset for help on using the changeset viewer.