Changeset 3851 for LMDZ6/branches/LMDZ-tracers/libf/phylmd/conf_phys_m.F90
- Timestamp:
- Feb 22, 2021, 12:44:07 PM (4 years ago)
- Location:
- LMDZ6/branches/LMDZ-tracers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ-tracers
- Property svn:mergeinfo changed
-
LMDZ6/branches/LMDZ-tracers/libf/phylmd/conf_phys_m.F90
r3630 r3851 29 29 USE mod_grid_phy_lmdz, ONLY: klon_glo 30 30 USE print_control_mod, ONLY: lunout 31 use config_ocean_skin_m, only: config_ocean_skin 31 32 USE phys_state_var_mod, ONLY: phys_tstep 32 33 … … 86 87 CHARACTER (len = 10),SAVE :: type_veget_omp 87 88 CHARACTER (len = 8), SAVE :: aer_type_omp 88 LOGICAL, SAVE :: ok_snow_omp 89 INTEGER, SAVE :: landice_opt_omp 90 INTEGER, SAVE :: n_dtis_omp 91 INTEGER, SAVE :: iflag_tsurf_inlandsis_omp 92 INTEGER, SAVE :: iflag_albzenith_omp 93 LOGICAL, SAVE :: SnoMod_omp,BloMod_omp,ok_outfor_omp 89 94 LOGICAL, SAVE :: ok_newmicro_omp 90 95 LOGICAL, SAVE :: ok_all_xml_omp … … 318 323 ! 319 324 320 ! Martin 321 !Config Key = ok_snow 322 !Config Desc = Flag to activate snow model SISVAT 323 !Config Def = .FALSE. 324 ok_snow_omp = .FALSE. 325 CALL getin('ok_snow', ok_snow_omp) 326 ! Martin 327 325 ! INLANDSIS 326 !================================================================== 327 ! Martin et Etienne 328 !Config Key = landice_opt 329 !Config Desc = which landice snow model (BULK, SISVAT or INLANDSIS) 330 !Config Def = 0 331 landice_opt_omp = 0 332 CALL getin('landice_opt', landice_opt_omp) 333 ! Martin et Etienne 334 335 !Etienne 336 !Config Key = iflag_tsurf_inlandsis 337 !Config Desc = which method to calculate tsurf in INLANDSIS 338 !Config Def = 0 339 iflag_tsurf_inlandsis_omp = 0 340 CALL getin('iflag_tsurf_inlandsis', iflag_tsurf_inlandsis_omp) 341 342 !Etienne 343 !Config Key = iflag_albzenith 344 !Config Desc = method to account for albedo sensitivity to solar zenith angle 345 !Config Def = 0 346 iflag_albzenith_omp = 0 347 CALL getin('iflag_albzenith', iflag_albzenith_omp) 348 349 !Etienne 350 !Config Key = n_dtis 351 !Config Desc = number of subtimesteps for INLANDSIS 352 !Config Def = 1 353 n_dtis_omp = 1 354 CALL getin('n_dtis', n_dtis_omp) 355 356 !Etienne 357 !Config Key = SnoMod 358 !Config Desc = activation of snow modules in inlandsis 359 !Config Def = 1 360 SnoMod_omp = .TRUE. 361 CALL getin('SnoMod', SnoMod_omp) 362 363 !Etienne 364 !Config Key = BloMod 365 !Config Desc = activation of blowing snow in inlandsis 366 !Config Def = 1 367 BloMod_omp = .FALSE. 368 CALL getin('BloMod', BloMod_omp) 369 370 !Etienne 371 !Config Key = ok_outfor 372 !Config Desc = activation of output ascii file in inlandsis 373 !Config Def = 1 374 ok_outfor_omp = .FALSE. 375 CALL getin('ok_outfor', ok_outfor_omp) 376 377 378 379 !================================================================== 380 328 381 !Config Key = OK_journe 329 382 !Config Desc = Pour des sorties journalieres … … 2291 2344 ok_veget=.FALSE. 2292 2345 ENDIF 2293 ! Martin 2294 ok_snow = ok_snow_omp 2295 ! Martin 2296 2346 ! SISVAT and INLANDSIS 2347 !================================================= 2348 landice_opt = landice_opt_omp 2349 iflag_tsurf_inlandsis = iflag_tsurf_inlandsis_omp 2350 iflag_albzenith = iflag_albzenith_omp 2351 n_dtis=n_dtis_omp 2352 SnoMod=SnoMod_omp 2353 BloMod=BloMod_omp 2354 ok_outfor=ok_outfor_omp 2355 !================================================= 2297 2356 ok_all_xml = ok_all_xml_omp 2298 2357 ok_lwoff = ok_lwoff_omp … … 2486 2545 ENDIF 2487 2546 2488 ! Test sur new_aod. Ce flag permet de retrouver les resultats de l'AR4 2489 ! il n'est utilisable que lors du couplage avec le SO4 seul 2547 ! Flag_aerosol cannot be set to zero if aerosol direct effect (ade) or aerosol indirect effect (aie) are activated 2490 2548 IF (ok_ade .OR. ok_aie) THEN 2491 2549 IF ( flag_aerosol .EQ. 0 ) THEN … … 2494 2552 ENDIF 2495 2553 2496 ! Flag_aerosol cannot be to zero if we are in coupled mode for aerosol2554 ! Flag_aerosol cannot be set to zero if we are in coupled mode for aerosol 2497 2555 IF (aerosol_couple .AND. flag_aerosol .EQ. 0 ) THEN 2498 2556 CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if aerosol_couple=y ', 1) 2499 2557 ENDIF 2500 2558 2501 ! Read_climoz need to bezero if we are in couple mode for chemistry2559 ! Read_climoz needs to be set zero if we are in couple mode for chemistry 2502 2560 IF (chemistry_couple .AND. read_climoz .ne. 0) THEN 2503 2561 CALL abort_physic('conf_phys', 'read_climoz need to be to zero if chemistry_couple=y ', 1) … … 2555 2613 WRITE(lunout,*) ' Version ocean = ', version_ocean 2556 2614 WRITE(lunout,*) ' Config veget = ', ok_veget,type_veget 2557 WRITE(lunout,*) ' Snow model SISVAT : ok_snow = ', ok_snow2615 WRITE(lunout,*) ' Snow model landice : landice_opt = ', landice_opt 2558 2616 WRITE(lunout,*) ' Config xml pour XIOS : ok_all_xml = ', ok_all_xml 2559 2617 WRITE(lunout,*) ' Sortie journaliere = ', ok_journe … … 2754 2812 WRITE(lunout,*) ' carbon_cycle_rad = ', carbon_cycle_rad 2755 2813 WRITE(lunout,*) ' level_coupling_esm = ', level_coupling_esm 2814 WRITE(lunout,*) ' iflag_tsurf_inlandsis = ', iflag_tsurf_inlandsis 2815 WRITE(lunout,*) ' iflag_albzenith = ', iflag_albzenith 2816 WRITE(lunout,*) ' n_dtis = ', n_dtis 2817 WRITE(lunout,*) ' SnoMod = ', SnoMod 2818 WRITE(lunout,*) ' BloMod = ', BloMod 2819 WRITE(lunout,*) ' ok_outfor = ', ok_outfor 2820 2756 2821 2757 2822 !$OMP END MASTER 2758 2759 RETURN 2823 call config_ocean_skin 2760 2824 2761 2825 END SUBROUTINE conf_phys
Note: See TracChangeset
for help on using the changeset viewer.