Ignore:
Timestamp:
2011-07-08T14:24:28+02:00 (13 years ago)
Author:
didier.solyga
Message:

Move and clean the rest of the externalized parameters from sechiba and stomate to src_parameters. Add two subroutines in constantes. Correct Olson type number 79 in vegcorr

File:
1 edited

Legend:

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

    r282 r311  
    4040  ! 
    4141  LOGICAL, SAVE                                     :: check_waterbal=.FALSE. !! The check the water balance 
    42   LOGICAL, SAVE                                     :: ok_hdiff         !! do horizontal diffusion? 
    4342 
    4443  CHARACTER(LEN=80) , SAVE                          :: var_name         !! To store variables names for I/O 
     
    175174    IF (l_first_hydrol) THEN 
    176175 
    177        sneige = snowcri/mille 
    178  
    179176        IF (long_print) WRITE (numout,*) ' l_first_hydrol : call hydrolc_init ' 
    180177 
     
    450447    ENDIF 
    451448 
    452     !Config  Key  = HYDROL_OK_HDIFF 
    453     !Config  Desc = do horizontal diffusion? 
    454     !Config  Def  = n 
    455     !Config  Help = If TRUE, then water can diffuse horizontally between 
    456     !Config         the PFTs' water reservoirs. 
    457   
    458     ok_hdiff = .FALSE. 
    459     CALL getin_p('HYDROL_OK_HDIFF',ok_hdiff)  
     449    ! >> july 2011 add initialisation of sneige and throughfall_by_pft 
     450    sneige = snowcri/mille 
     451    throughfall_by_pft = throughfall_by_pft / 100.    
    460452 
    461453    ! make dynamic allocation with good dimension 
     
    854846        zdsp(:,:) = dpu_cste - bqsb(:,:) / mx_eau_eau 
    855847        dsp(1,1) = val_exp 
    856         call getin_p('HYDROL_DSP', dsp(1,1)) 
     848        CALL getin_p('HYDROL_DSP', dsp(1,1)) 
    857849        IF (dsp(1,1) == val_exp) THEN 
    858850           dsp(:,:) = zdsp(:,:) 
     
    14581450    INTEGER(i_std)                                :: ji, jv 
    14591451    REAL(r_std), DIMENSION (kjpindex,nvm)          :: zqsintvegnew 
    1460     LOGICAL, SAVE                                  :: firstcall=.TRUE. 
    1461  
    1462     IF ( firstcall ) THEN 
    1463  
    1464        throughfall_by_pft = throughfall_by_pft / 100. 
    1465  
    1466        firstcall=.FALSE. 
    1467     ENDIF 
     1452!!$    LOGICAL, SAVE                                  :: firstcall=.TRUE. 
     1453!!$ 
     1454!!$    IF ( firstcall ) THEN 
     1455!!$ 
     1456!!$       throughfall_by_pft = throughfall_by_pft / 100. 
     1457!!$ 
     1458!!$       firstcall=.FALSE. 
     1459!!$    ENDIF 
    14681460 
    14691461    ! calcul de qsintmax a prevoir a chaque pas de temps 
Note: See TracChangeset for help on using the changeset viewer.