--- trunk/Sources/phylmd/clesphys2.f 2016/12/07 16:44:53 208 +++ trunk/phylmd/clesphys2.f90 2019/06/13 14:40:06 328 @@ -4,28 +4,22 @@ implicit none - LOGICAL:: cycle_diurne = .TRUE. - ! Cette option permet d'\'eteindre le cycle diurne. Peut \^etre utile - ! pour acc\'el\'erer le code. - - LOGICAL:: soil_model = .TRUE. - ! Choix du modele de sol (Thermique ?) - - LOGICAL:: new_oliq = .TRUE. + LOGICAL, protected:: new_oliq = .TRUE. ! Permet de mettre en route la nouvelle parametrisation de l'eau liquide ! Pour l'orographie: - LOGICAL:: ok_orodr = .TRUE. - LOGICAL:: ok_orolf = .TRUE. + LOGICAL, protected:: ok_orodr = .TRUE. + LOGICAL, protected:: ok_orolf = .TRUE. - LOGICAL:: ok_limitvrai = .FALSE. + LOGICAL, protected:: ok_limitvrai = .FALSE. ! On peut forcer le modele a lire le fichier SST de la bonne ! annee. - INTEGER:: nbapp_rad = 12 + INTEGER, protected:: nbapp_rad = 12 ! nombre d'appels des routines de rayonnements par jour - logical:: conv_emanuel = .true. ! convection scheme of Emanuel, else Tiedtke + logical, protected:: conv_emanuel = .true. + ! convection scheme of Emanuel, else Tiedtke contains @@ -35,8 +29,8 @@ use nr_util, only: assert use conf_gcm_m, only: day_step, iphysiq - namelist /clesphys2_nml/cycle_diurne, soil_model, new_oliq, ok_orodr, & - ok_orolf, ok_limitvrai, nbapp_rad, conv_emanuel + namelist /clesphys2_nml/new_oliq, ok_orodr, ok_orolf, ok_limitvrai, & + nbapp_rad, conv_emanuel !------------------------------------ @@ -45,9 +39,8 @@ write(unit_nml, nml=clesphys2_nml) call assert(mod(day_step / iphysiq, nbapp_rad) == 0, & "read_clesphys2 nbapp_rad") - call assert(nbapp_rad >= 4 .or. .not. cycle_diurne, & - "read_clesphys2: minimum 4 calls to radiative transfer per day if " & - // "cycle_diurne") + call assert(nbapp_rad >= 4, & + "read_clesphys2: minimum 4 calls to radiative transfer per day") end subroutine read_clesphys2