Changeset 281


Ignore:
Timestamp:
2011-06-27T10:04:55+02:00 (13 years ago)
Author:
didier.solyga
Message:

Merge the externalized version with the last commits done on the trunk (see revisions 278,279 and 280)

Location:
branches/ORCHIDEE_EXT/ORCHIDEE
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/intersurf.f90

    r277 r281  
    45814581            & dt, hist_dt_stom, hori_id, hist_PFTaxis_id, & 
    45824582            & hist_pool_10axis_id, hist_pool_100axis_id, & 
    4583             & hist_pool_11axis_id, hist_pool_101axis_id) 
     4583            & hist_pool_11axis_id, hist_pool_101axis_id, control_flags) 
    45844584! deforestation axis added as arguments 
    45854585 
     
    46784678       &  hist_dt, hist_hori_id, hist_PFTaxis_id, & 
    46794679       & hist_pool_10axis_id, hist_pool_100axis_id, & 
    4680        & hist_pool_11axis_id, hist_pool_101axis_id) 
     4680       & hist_pool_11axis_id, hist_pool_101axis_id, control_flags) 
    46814681    ! deforestation axis added as arguments 
    46824682 
     
    47064706    INTEGER(i_std),INTENT(in) :: hist_pool_10axis_id,hist_pool_100axis_id 
    47074707    INTEGER(i_std),INTENT(in) :: hist_pool_11axis_id,hist_pool_101axis_id 
     4708    !- Flags that (de)activate parts of the model 
     4709    TYPE(control_type), INTENT(in)             :: control_flags 
    47084710    !- 
    47094711    !- 1 local 
     
    49324934         &               TRIM("Density of individuals                            "), & 
    49334935         &               TRIM("1/ m^2              "), iim,jjm, hist_hori_id, & 
     4936         &               nvm,1,nvm, hist_PFTaxis_id,32, ave(3), dt, hist_dt) 
     4937 
     4938    IF ( control_flags%ok_dgvm ) THEN     
     4939       ! Adaptation to climate 
     4940       CALL histdef (hist_id_stom, & 
     4941            &               TRIM("ADAPTATION          "), & 
     4942            &               TRIM("Adaptation to climate (DGVM)                      "), & 
     4943            &               TRIM("-                   "), iim,jjm, hist_hori_id, & 
     4944            &               nvm,1,nvm, hist_PFTaxis_id,32, ave(3), dt, hist_dt) 
     4945 
     4946       ! Probability from regenerative 
     4947       CALL histdef (hist_id_stom, & 
     4948            &               TRIM("REGENERATION        "), & 
     4949            &               TRIM("Probability from regenerative (DGVM)               "), & 
     4950            &               TRIM("-                   "), iim,jjm, hist_hori_id, & 
     4951            &               nvm,1,nvm, hist_PFTaxis_id,32, ave(3), dt, hist_dt) 
     4952    ENDIF 
     4953 
     4954    ! crown area of individuals (m**2) 
     4955    CALL histdef (hist_id_stom, & 
     4956         &               TRIM("CN_IND              "), & 
     4957         &               TRIM("crown area of individuals                         "), & 
     4958         &               TRIM("m^2                 "), iim,jjm, hist_hori_id, & 
     4959         &               nvm,1,nvm, hist_PFTaxis_id,32, ave(3), dt, hist_dt) 
     4960 
     4961    ! woodmass of individuals (gC) 
     4962    CALL histdef (hist_id_stom, & 
     4963         &               TRIM("WOODMASS_IND        "), & 
     4964         &               TRIM("Woodmass of individuals                           "), & 
     4965         &               TRIM("gC/pft              "), iim,jjm, hist_hori_id, & 
    49344966         &               nvm,1,nvm, hist_PFTaxis_id,32, ave(3), dt, hist_dt) 
    49354967 
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_stomate/lpj_constraints.f90

    r257 r281  
    146146          IF ( tree(j) .AND. ( pheno_model(j) .NE. 'none' ) ) THEN 
    147147 
    148              WHERE ( when_growthinit(:,j) .GT. too_long*one_year ) 
     148             WHERE ( when_growthinit(:,j) .GT. too_long*one_year .AND. when_growthinit(:,j).LT. large_value) 
    149149                adapted(:,j) = zero 
    150150             ENDWHERE 
     
    198198    ENDDO 
    199199 
     200    CALL histwrite (hist_id_stomate, 'ADAPTATION', itime, & 
     201         adapted, npts*nvm, horipft_index) 
     202    CALL histwrite (hist_id_stomate, 'REGENERATION', itime, & 
     203         regenerate, npts*nvm, horipft_index) 
     204 
    200205    IF (bavard.GE.4) WRITE(numout,*) 'Leaving constraints' 
    201206 
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_stomate/lpj_establish.f90

    r257 r281  
    621621                           &                **(1./(2.+pipe_tune3)) 
    622622 
    623                       vn(:)=(ind(i,j)+d_ind(i,j))*pipe_tune1*MIN(dia(i),maxdia(j))**pipe_tune_exp_coeff 
     623                      vn(i)=(ind(i,j)+d_ind(i,j))*pipe_tune1*MIN(dia(i),maxdia(j))**pipe_tune_exp_coeff 
    624624 
    625625                   ENDIF 
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_stomate/stomate_lpj.f90

    r257 r281  
    806806    CALL histwrite (hist_id_stomate, 'CO2_TAKEN', itime, & 
    807807         co2_to_bm, npts*nvm, horipft_index) 
    808 !MM : histdef à construire !  
    809 !!$   CALL histwrite (hist_id_stomate, 'CN_IND', itime, & 
    810 !!$                    cn_ind, npts*nvm, horipft_index) 
    811 !!$   CALL histwrite (hist_id_stomate, 'WOODMASS_IND', itime, & 
    812 !!$                    woodmass_ind, npts*nvm, horipft_index) 
    813808    ! land cover change 
    814809    CALL histwrite (hist_id_stomate, 'CONVFLUX', itime, & 
     
    835830    CALL histwrite (hist_id_stomate, 'IND', itime, & 
    836831         ind, npts*nvm, horipft_index) 
     832    CALL histwrite (hist_id_stomate, 'CN_IND', itime, & 
     833         cn_ind, npts*nvm, horipft_index) 
     834    CALL histwrite (hist_id_stomate, 'WOODMASS_IND', itime, & 
     835         woodmass_ind, npts*nvm, horipft_index) 
    837836    CALL histwrite (hist_id_stomate, 'TOTAL_M', itime, & 
    838837         tot_live_biomass, npts*nvm, horipft_index) 
Note: See TracChangeset for help on using the changeset viewer.