Changeset 272 for branches/ORCHIDEE_EXT/ORCHIDEE_OL/teststomate.f90
- Timestamp:
- 2011-06-20T15:28:40+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE_OL/teststomate.f90
r258 r272 53 53 REAL(r_std),DIMENSION(:,:),ALLOCATABLE :: qsintmax_x 54 54 REAL(r_std),DIMENSION(:,:),ALLOCATABLE :: co2_flux 55 !!$ DS add for externalised version55 !!$ >> DS add for externalised version 56 56 REAL(r_std),DIMENSION(:),ALLOCATABLE :: hist_PFTaxis 57 !!$ DS57 !!$ >> DS 58 58 59 59 … … 75 75 CHARACTER(LEN=30) :: time_str 76 76 REAL :: hist_days_stom,hist_dt_stom 77 !!$ REAL,DIMENSION(nvm) :: hist_PFTaxis78 77 REAL(r_std),DIMENSION(10) :: hist_pool_10axis 79 78 REAL(r_std),DIMENSION(100) :: hist_pool_100axis … … 176 175 write(*,*) 'ATTENTION',dtradia,dt_force 177 176 178 !!$ DS added for the externalised version 179 !!$we need to know the pft parameters values used for stomate 177 !!$ >> DS added for the externalised version 178 !!$ we need to know the pft parameters values used for stomate 179 180 ! 1. Read the number of PFTs 181 CALL getin('NVM',nvm) 182 ! 2. Allocate and read the pft parameters stomate specific 180 183 CALL pft_parameters_main 181 184 CALL getin_stomate_pft_parameters … … 186 189 !- 187 190 a_er = .FALSE. 188 !!$ DS added for the externalised version 189 !!$ ALLOCATE (pft_to_mtc(nvm),stat=ier) 190 !!$ a_er = a_er .OR. (ier.NE.0) 191 !!$ >> DS added for the externalised version 191 192 ALLOCATE (hist_PFTaxis(nvm),stat=ier) 192 193 a_er = a_er .OR. (ier.NE.0) … … 356 357 control%ok_co2 = .TRUE. 357 358 control%ok_stomate = .TRUE. 358 !!$ DS now we search the values for the scalar parameters in orchidee.def359 !!$ >> DS now we search the values for the scalar parameters in some .def files 359 360 CALL getin_co2_parameters 360 361 CALL getin_stomate_parameters 361 !!$ CALL getin('CLAYFRACTION_DEFAULT',clayfraction_default)362 !!$ >> DS 362 363 !- 363 364 ! is DGVM activated? … … 366 367 CALL getin('STOMATE_OK_DGVM',control%ok_dgvm) 367 368 WRITE(*,*) 'LPJ is activated: ',control%ok_dgvm 368 !!$ DS for the externalisation reading the scalar parameters when ok_dgvm is set to true369 !!$ >> DS for the externalisation reading the scalar parameters when ok_dgvm is set to true 369 370 IF (control%ok_dgvm) THEN 370 371 CALL getin_dgvm_parameters 371 372 ENDIF 373 !!$ >> DS 372 374 !- 373 375 ! restart files … … 542 544 !- 543 545 544 ! DS : getin the value of slowproc parameters546 ! >> DS : getin the value of slowproc parameters 545 547 CALL getin('CLAYFRACTION_DEFAULT',clayfraction_default) 548 CALL getin('SOILTYPE_DEFAULT',soiltype_default) 549 ! >> DS 546 550 547 551 CALL slowproc_main &
Note: See TracChangeset
for help on using the changeset viewer.