Ignore:
Timestamp:
Jan 4, 2021, 6:01:25 PM (3 years ago)
Author:
evignon
Message:

Ajout de INLANDSIS, nouvelle interface entre LMDZ et la neige de SISVAT
Etienne, 04/01/2021

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/conf_phys_m.F90

    r3789 r3792  
    8686    CHARACTER (len = 10),SAVE  :: type_veget_omp
    8787    CHARACTER (len = 8), SAVE  :: aer_type_omp
    88     LOGICAL, SAVE       :: ok_snow_omp
     88    INTEGER, SAVE       :: landice_opt_omp
     89    INTEGER, SAVE       :: n_dtis_omp
     90    INTEGER, SAVE       :: iflag_tsurf_inlandsis_omp
     91    INTEGER, SAVE       :: iflag_albzenith_omp   
     92    LOGICAL, SAVE       :: SnoMod_omp,BloMod_omp,ok_outfor_omp
    8993    LOGICAL, SAVE       :: ok_newmicro_omp
    9094    LOGICAL, SAVE       :: ok_all_xml_omp
     
    318322    !
    319323
    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 
     324    ! INLANDSIS
     325    !==================================================================
     326    ! Martin et Etienne
     327    !Config Key  = landice_opt
     328    !Config Desc = which landice snow model (BULK, SISVAT or INLANDSIS)
     329    !Config Def  = 0
     330    landice_opt_omp = 0
     331    CALL getin('landice_opt', landice_opt_omp)
     332    ! Martin et Etienne
     333
     334    !Etienne
     335    !Config Key  = iflag_tsurf_inlandsis
     336    !Config Desc = which method to calculate tsurf in INLANDSIS
     337    !Config Def  = 0
     338    iflag_tsurf_inlandsis_omp = 0
     339    CALL getin('iflag_tsurf_inlandsis', iflag_tsurf_inlandsis_omp)
     340
     341    !Etienne
     342    !Config Key  = iflag_albzenith
     343    !Config Desc = method to account for albedo sensitivity to solar zenith angle
     344    !Config Def  = 0
     345    iflag_albzenith_omp = 0
     346    CALL getin('iflag_albzenith', iflag_albzenith_omp)
     347
     348    !Etienne
     349    !Config Key  = n_dtis
     350    !Config Desc = number of subtimesteps for INLANDSIS
     351    !Config Def  = 1
     352    n_dtis_omp = 1
     353    CALL getin('n_dtis', n_dtis_omp)
     354
     355    !Etienne
     356    !Config Key  = SnoMod
     357    !Config Desc = activation of snow modules in inlandsis
     358    !Config Def  = 1
     359    SnoMod_omp = .TRUE.
     360    CALL getin('SnoMod', SnoMod_omp)
     361
     362    !Etienne
     363    !Config Key  = BloMod
     364    !Config Desc = activation of blowing snow in inlandsis
     365    !Config Def  = 1
     366    BloMod_omp = .FALSE.
     367    CALL getin('BloMod', BloMod_omp)
     368
     369    !Etienne
     370    !Config Key  = ok_outfor
     371    !Config Desc = activation of output ascii file in inlandsis
     372    !Config Def  = 1
     373   ok_outfor_omp = .FALSE.
     374    CALL getin('ok_outfor', ok_outfor_omp)
     375
     376
     377
     378    !==================================================================
     379   
    328380    !Config Key  = OK_journe
    329381    !Config Desc = Pour des sorties journalieres
     
    22912343       ok_veget=.FALSE.
    22922344    ENDIF
    2293     ! Martin
    2294     ok_snow = ok_snow_omp
    2295     ! Martin
    2296 
     2345    ! SISVAT and INLANDSIS
     2346    !=================================================
     2347    landice_opt = landice_opt_omp
     2348    iflag_tsurf_inlandsis = iflag_tsurf_inlandsis_omp
     2349    iflag_albzenith = iflag_albzenith_omp
     2350    n_dtis=n_dtis_omp
     2351    SnoMod=SnoMod_omp
     2352    BloMod=BloMod_omp
     2353    ok_outfor=ok_outfor_omp
     2354    !=================================================
    22972355    ok_all_xml = ok_all_xml_omp
    22982356    ok_lwoff = ok_lwoff_omp
     
    25542612    WRITE(lunout,*) ' Version ocean = ', version_ocean
    25552613    WRITE(lunout,*) ' Config veget = ', ok_veget,type_veget
    2556     WRITE(lunout,*) ' Snow model SISVAT : ok_snow = ', ok_snow
     2614    WRITE(lunout,*) ' Snow model landice : landice_opt = ', landice_opt
    25572615    WRITE(lunout,*) ' Config xml pour XIOS : ok_all_xml = ', ok_all_xml
    25582616    WRITE(lunout,*) ' Sortie journaliere = ', ok_journe
     
    27532811    WRITE(lunout,*) ' carbon_cycle_rad = ', carbon_cycle_rad
    27542812    WRITE(lunout,*) ' level_coupling_esm = ', level_coupling_esm
     2813    WRITE(lunout,*) ' iflag_tsurf_inlandsis = ', iflag_tsurf_inlandsis
     2814    WRITE(lunout,*) ' iflag_albzenith = ', iflag_albzenith
     2815    WRITE(lunout,*) ' n_dtis = ', n_dtis
     2816    WRITE(lunout,*) ' SnoMod = ', SnoMod
     2817    WRITE(lunout,*) ' BloMod = ', BloMod
     2818    WRITE(lunout,*) ' ok_outfor = ', ok_outfor
     2819
    27552820
    27562821    !$OMP END MASTER
Note: See TracChangeset for help on using the changeset viewer.