Ignore:
Timestamp:
Nov 5, 2018, 3:24:59 PM (6 years ago)
Author:
Laurent Fairhead
Message:

Undoing merge with trunk (r3356) to properly register Yann's latest modifications

Location:
LMDZ6/branches/DYNAMICO-conv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/DYNAMICO-conv

  • LMDZ6/branches/DYNAMICO-conv/libf/phylmd/conf_phys_m.F90

    r3356 r3411  
    9292    LOGICAL, SAVE       :: ok_newmicro_omp
    9393    LOGICAL, SAVE       :: ok_all_xml_omp
    94     LOGICAL, SAVE       :: ok_lwoff_omp
    9594    LOGICAL, SAVE       :: ok_journe_omp, ok_mensuel_omp, ok_instan_omp, ok_hf_omp       
    9695    LOGICAL, SAVE       :: ok_LES_omp   
     
    214213    LOGICAL,SAVE :: ok_lic_cond_omp
    215214    !
    216     INTEGER,SAVE  :: iflag_cycle_diurne_omp
    217     LOGICAL,SAVE  :: soil_model_omp,new_oliq_omp
     215    LOGICAL,SAVE  :: cycle_diurne_omp,soil_model_omp,new_oliq_omp
    218216    LOGICAL,SAVE  :: ok_orodr_omp, ok_orolf_omp, ok_limitvrai_omp
    219217    INTEGER, SAVE :: nbapp_rad_omp, iflag_con_omp
     
    297295    ok_all_xml_omp = .FALSE.
    298296    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)
    308297    !
    309298
     
    416405    ! - flag_aerosol=5 => dust only
    417406    ! - 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)
    420407
    421408    flag_aerosol_omp = 0
     
    722709    ! Constantes precedemment dans dyn3d/conf_gcm
    723710
    724     !Config  Key  = iflag_cycle_diurne
    725     !Config  Desc = Cycle diurne
    726     !Config  Def  = 1
     711    !Config  Key  = cycle_diurne
     712    !Config  Desc = Cycle ddiurne
     713    !Config  Def  = y
    727714    !Config  Help = Cette option permet d'eteidre le cycle diurne.
    728715    !Config         Peut etre util pour accelerer le code !
    729     iflag_cycle_diurne_omp = 1
    730     CALL getin('iflag_cycle_diurne',iflag_cycle_diurne_omp)
     716    cycle_diurne_omp = .TRUE.
     717    CALL getin('cycle_diurne',cycle_diurne_omp)
    731718
    732719    !Config  Key  = soil_model
     
    21682155    RCFC12_per = RCFC12_per_omp
    21692156
    2170     iflag_cycle_diurne = iflag_cycle_diurne_omp
     2157    cycle_diurne = cycle_diurne_omp
    21712158    soil_model = soil_model_omp
    21722159    new_oliq = new_oliq_omp
     
    22592246
    22602247    ok_all_xml = ok_all_xml_omp
    2261     ok_lwoff = ok_lwoff_omp
    22622248    ok_newmicro = ok_newmicro_omp
    22632249    ok_journe = ok_journe_omp
     
    24522438
    24532439    ! Flag_aerosol cannot be to zero if we are in coupled mode for aerosol
    2454     IF (aerosol_couple .AND. flag_aerosol .EQ. 0 ) THEN
     2440    IF (aerosol_couple .AND. flag_aerosol .eq. 0 ) THEN
    24552441       CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if aerosol_couple=y ', 1)
    24562442    ENDIF
    24572443
    24582444    ! flag_aerosol need to be different to zero if ok_cdnc is activated
    2459     IF (ok_cdnc .AND. flag_aerosol .EQ. 0) THEN
     2445    IF (ok_cdnc .AND. flag_aerosol .eq. 0) THEN
    24602446       CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if ok_cdnc is activated ', 1)
    24612447    ENDIF
     
    24642450    IF (ok_aie .AND. .NOT. ok_cdnc) THEN
    24652451       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)
    24742452    ENDIF
    24752453
     
    24872465    ! ORCHIDEE must be activated for ifl_pbltree=1
    24882466    IF (.NOT. ok_veget .AND. ifl_pbltree==1) THEN
    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
     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)
    24922469    END IF
    24932470
     
    25292506    write(lunout,*)'ok_lic_melt=', ok_lic_melt
    25302507    write(lunout,*)'ok_lic_cond=', ok_lic_cond
    2531     write(lunout,*)'iflag_cycle_diurne=',iflag_cycle_diurne
     2508    write(lunout,*)'cycle_diurne=',cycle_diurne
    25322509    write(lunout,*)'soil_model=',soil_model
    25332510    write(lunout,*)'new_oliq=',new_oliq
Note: See TracChangeset for help on using the changeset viewer.