Changeset 328
- Timestamp:
- 2011-07-18T15:46:30+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE/src_parameters/constantes.f90
r311 r328 413 413 LOGICAL,SAVE :: harvest_agri = .TRUE. 414 414 ! constant moratlity 415 LOGICAL,SAVE :: lpj_gap_const_mort =.TRUE.415 LOGICAL,SAVE :: lpj_gap_const_mort = .TRUE. 416 416 ! flag that disable fire 417 LOGICAL, SAVE :: disable_fire 417 LOGICAL, SAVE :: disable_fire = .FALSE. 418 418 419 419 ! … … 1256 1256 1257 1257 IMPLICIT NONE 1258 1259 ! first call 1260 LOGICAL, SAVE :: first_call = .TRUE. 1258 1261 1262 IF (first_call) THEN 1263 1259 1264 !Config Key = AGRICULTURE 1260 1265 !Config Desc = agriculture allowed? … … 1332 1337 CALL getin_p('VEGET_REINIT', veget_reinit) 1333 1338 1334 1335 ! Check consistency 1336 1337 ! 1. You have to activate agriculture and land_use 1338 IF ( .NOT. agriculture .AND. land_use ) THEN 1339 CALL ipslerr (2,'veget_config', & 1340 & 'Problem with agriculture desactivated and Land Use activated.',& 1341 & 'Are you sure ?', & 1342 & '(check your parameters).') 1343 ENDIF 1339 first_call = .FALSE. 1340 1341 ENDIF 1342 1343 ! Check consistency 1344 1345 ! 1. You have to activate agriculture and land_use 1346 IF ( .NOT. agriculture .AND. land_use ) THEN 1347 CALL ipslerr (2,'veget_config', & 1348 & 'Problem with agriculture desactivated and Land Use activated.',& 1349 & 'Are you sure ?', & 1350 & '(check your parameters).') 1351 ENDIF 1344 1352 1345 1353 !!$ ! DS : Add warning in case of a wrong configuration (need to be discussed)
Note: See TracChangeset
for help on using the changeset viewer.