/[lmdze]/trunk/Sources/phylmd/clesphys2.f
ViewVC logotype

Diff of /trunk/Sources/phylmd/clesphys2.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/phylmd/clesphys2.f90 revision 76 by guez, Fri Nov 15 18:45:49 2013 UTC trunk/Sources/phylmd/clesphys2.f revision 209 by guez, Wed Dec 7 17:37:21 2016 UTC
# Line 4  module clesphys2 Line 4  module clesphys2
4    
5    implicit none    implicit none
6    
   LOGICAL:: cycle_diurne = .TRUE.  
   ! Cette option permet d'éteindre le cycle diurne.  
   ! Peut être utile pour accélérer le code.  
   
7    LOGICAL:: soil_model = .TRUE.    LOGICAL:: soil_model = .TRUE.
8    ! Choix du modele de sol (Thermique ?)    ! Choix du modele de sol (Thermique ?)
9    
# Line 25  module clesphys2 Line 21  module clesphys2
21    INTEGER:: nbapp_rad = 12    INTEGER:: nbapp_rad = 12
22    ! nombre d'appels des routines de rayonnements par jour    ! nombre d'appels des routines de rayonnements par jour
23    
24    INTEGER:: iflag_con = 2    logical:: conv_emanuel = .true. ! convection scheme of Emanuel, else Tiedtke
   ! Convection scheme:  
   ! 2 Tiedtke  
   ! 3 Emanuel  
   ! 4 Emanuel vect  
25    
26  contains  contains
27    
28    subroutine read_clesphys2    subroutine read_clesphys2
29    
30      use unit_nml_m, only: unit_nml      use unit_nml_m, only: unit_nml
31        use nr_util, only: assert
32        use conf_gcm_m, only: day_step, iphysiq
33    
34      namelist /clesphys2_nml/cycle_diurne, soil_model, new_oliq, &      namelist /clesphys2_nml/soil_model, new_oliq, ok_orodr, ok_orolf, &
35           ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad, iflag_con           ok_limitvrai, nbapp_rad, conv_emanuel
36    
37      !------------------------------------      !------------------------------------
38    
39      print *, "Enter namelist 'clesphys2_nml'."      print *, "Enter namelist 'clesphys2_nml'."
40      read(unit=*, nml=clesphys2_nml)      read(unit=*, nml=clesphys2_nml)
41      write(unit_nml, nml=clesphys2_nml)      write(unit_nml, nml=clesphys2_nml)
42        call assert(mod(day_step / iphysiq, nbapp_rad) == 0, &
43      if (iflag_con <= 1) then           "read_clesphys2 nbapp_rad")
44         print *, "bad value for iflag_con"      call assert(nbapp_rad >= 4, &
45         stop 1           "read_clesphys2: minimum 4 calls to radiative transfer per day")
     end if  
46    
47    end subroutine read_clesphys2    end subroutine read_clesphys2
48    

Legend:
Removed from v.76  
changed lines
  Added in v.209

  ViewVC Help
Powered by ViewVC 1.1.21