Changeset 311 for branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/hydrolc.f90
- Timestamp:
- 2011-07-08T14:24:28+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/hydrolc.f90
r282 r311 40 40 ! 41 41 LOGICAL, SAVE :: check_waterbal=.FALSE. !! The check the water balance 42 LOGICAL, SAVE :: ok_hdiff !! do horizontal diffusion?43 42 44 43 CHARACTER(LEN=80) , SAVE :: var_name !! To store variables names for I/O … … 175 174 IF (l_first_hydrol) THEN 176 175 177 sneige = snowcri/mille178 179 176 IF (long_print) WRITE (numout,*) ' l_first_hydrol : call hydrolc_init ' 180 177 … … 450 447 ENDIF 451 448 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. 460 452 461 453 ! make dynamic allocation with good dimension … … 854 846 zdsp(:,:) = dpu_cste - bqsb(:,:) / mx_eau_eau 855 847 dsp(1,1) = val_exp 856 callgetin_p('HYDROL_DSP', dsp(1,1))848 CALL getin_p('HYDROL_DSP', dsp(1,1)) 857 849 IF (dsp(1,1) == val_exp) THEN 858 850 dsp(:,:) = zdsp(:,:) … … 1458 1450 INTEGER(i_std) :: ji, jv 1459 1451 REAL(r_std), DIMENSION (kjpindex,nvm) :: zqsintvegnew 1460 LOGICAL, SAVE :: firstcall=.TRUE.1461 1462 IF ( firstcall ) THEN1463 1464 throughfall_by_pft = throughfall_by_pft / 100.1465 1466 firstcall=.FALSE.1467 ENDIF1452 !!$ LOGICAL, SAVE :: firstcall=.TRUE. 1453 !!$ 1454 !!$ IF ( firstcall ) THEN 1455 !!$ 1456 !!$ throughfall_by_pft = throughfall_by_pft / 100. 1457 !!$ 1458 !!$ firstcall=.FALSE. 1459 !!$ ENDIF 1468 1460 1469 1461 ! calcul de qsintmax a prevoir a chaque pas de temps
Note: See TracChangeset
for help on using the changeset viewer.