Changeset 3356 for LMDZ6/branches/DYNAMICO-conv/libf/phylmd/conf_phys_m.F90
- Timestamp:
- Jun 29, 2018, 12:31:11 PM (6 years ago)
- Location:
- LMDZ6/branches/DYNAMICO-conv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/DYNAMICO-conv
- Property svn:mergeinfo changed
-
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/conf_phys_m.F90
r3065 r3356 92 92 LOGICAL, SAVE :: ok_newmicro_omp 93 93 LOGICAL, SAVE :: ok_all_xml_omp 94 LOGICAL, SAVE :: ok_lwoff_omp 94 95 LOGICAL, SAVE :: ok_journe_omp, ok_mensuel_omp, ok_instan_omp, ok_hf_omp 95 96 LOGICAL, SAVE :: ok_LES_omp … … 213 214 LOGICAL,SAVE :: ok_lic_cond_omp 214 215 ! 215 LOGICAL,SAVE :: cycle_diurne_omp,soil_model_omp,new_oliq_omp 216 INTEGER,SAVE :: iflag_cycle_diurne_omp 217 LOGICAL,SAVE :: soil_model_omp,new_oliq_omp 216 218 LOGICAL,SAVE :: ok_orodr_omp, ok_orolf_omp, ok_limitvrai_omp 217 219 INTEGER, SAVE :: nbapp_rad_omp, iflag_con_omp … … 295 297 ok_all_xml_omp = .FALSE. 296 298 CALL getin('ok_all_xml', ok_all_xml_omp) 299 300 ! 301 !Config Key = ok_lwoff 302 !Config Desc = inhiber l effet radiatif LW des nuages 303 !Config Def = .FALSE. 304 !Config Help = 305 ! 306 ok_lwoff_omp = .FALSE. 307 CALL getin('ok_lwoff', ok_lwoff_omp) 297 308 ! 298 309 … … 405 416 ! - flag_aerosol=5 => dust only 406 417 ! - flag_aerosol=6 => all aerosol 418 ! - flag_aerosol=7 => natural aerosol + MACv2SP 419 ! - (in this case aerosols.1980.nc should point to aerosols.nat.nc) 407 420 408 421 flag_aerosol_omp = 0 … … 709 722 ! Constantes precedemment dans dyn3d/conf_gcm 710 723 711 !Config Key = cycle_diurne712 !Config Desc = Cycle d diurne713 !Config Def = y724 !Config Key = iflag_cycle_diurne 725 !Config Desc = Cycle diurne 726 !Config Def = 1 714 727 !Config Help = Cette option permet d'eteidre le cycle diurne. 715 728 !Config Peut etre util pour accelerer le code ! 716 cycle_diurne_omp = .TRUE.717 CALL getin(' cycle_diurne',cycle_diurne_omp)729 iflag_cycle_diurne_omp = 1 730 CALL getin('iflag_cycle_diurne',iflag_cycle_diurne_omp) 718 731 719 732 !Config Key = soil_model … … 2155 2168 RCFC12_per = RCFC12_per_omp 2156 2169 2157 cycle_diurne =cycle_diurne_omp2170 iflag_cycle_diurne = iflag_cycle_diurne_omp 2158 2171 soil_model = soil_model_omp 2159 2172 new_oliq = new_oliq_omp … … 2246 2259 2247 2260 ok_all_xml = ok_all_xml_omp 2261 ok_lwoff = ok_lwoff_omp 2248 2262 ok_newmicro = ok_newmicro_omp 2249 2263 ok_journe = ok_journe_omp … … 2438 2452 2439 2453 ! Flag_aerosol cannot be to zero if we are in coupled mode for aerosol 2440 IF (aerosol_couple .AND. flag_aerosol . eq. 0 ) THEN2454 IF (aerosol_couple .AND. flag_aerosol .EQ. 0 ) THEN 2441 2455 CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if aerosol_couple=y ', 1) 2442 2456 ENDIF 2443 2457 2444 2458 ! flag_aerosol need to be different to zero if ok_cdnc is activated 2445 IF (ok_cdnc .AND. flag_aerosol . eq. 0) THEN2459 IF (ok_cdnc .AND. flag_aerosol .EQ. 0) THEN 2446 2460 CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if ok_cdnc is activated ', 1) 2447 2461 ENDIF … … 2450 2464 IF (ok_aie .AND. .NOT. ok_cdnc) THEN 2451 2465 CALL abort_physic('conf_phys', 'ok_cdnc must be set to y if ok_aie is activated',1) 2466 ENDIF 2467 2468 ! flag_aerosol=7 => MACv2SP climatology 2469 IF (flag_aerosol.EQ.7.AND. iflag_rrtm.NE.1) THEN 2470 CALL abort_physic('conf_phys', 'flag_aerosol=7 (MACv2SP) can only be activated with RRTM',1) 2471 ENDIF 2472 IF (flag_aerosol.EQ.7.AND. NSW.NE.6) THEN 2473 CALL abort_physic('conf_phys', 'flag_aerosol=7 (MACv2SP) can only be activated with NSW=6',1) 2452 2474 ENDIF 2453 2475 … … 2465 2487 ! ORCHIDEE must be activated for ifl_pbltree=1 2466 2488 IF (.NOT. ok_veget .AND. ifl_pbltree==1) THEN 2467 WRITE(lunout,*)' ORCHIDEE must be activated for ifl_pbltree=1' 2468 CALL abort_physic('conf_phys','ok_veget and ifl_pbltree not coherent',1) 2489 WRITE(lunout,*)'Warning: ORCHIDEE must be activated for ifl_pbltree=1' 2490 WRITE(lunout,*)'ifl_pbltree is now changed to zero' 2491 ifl_pbltree=0 2469 2492 END IF 2470 2493 … … 2506 2529 write(lunout,*)'ok_lic_melt=', ok_lic_melt 2507 2530 write(lunout,*)'ok_lic_cond=', ok_lic_cond 2508 write(lunout,*)' cycle_diurne=',cycle_diurne2531 write(lunout,*)'iflag_cycle_diurne=',iflag_cycle_diurne 2509 2532 write(lunout,*)'soil_model=',soil_model 2510 2533 write(lunout,*)'new_oliq=',new_oliq
Note: See TracChangeset
for help on using the changeset viewer.