/[lmdze]/trunk/dyn3d/conf_gcm.f
ViewVC logotype

Diff of /trunk/dyn3d/conf_gcm.f

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

revision 171 by guez, Tue Sep 29 19:48:59 2015 UTC revision 223 by guez, Fri Apr 28 13:22:36 2017 UTC
# Line 2  module conf_gcm_m Line 2  module conf_gcm_m
2    
3    IMPLICIT NONE    IMPLICIT NONE
4    
5    INTEGER:: nday = 10 ! nombre de jours d'int\'egration    INTEGER:: nday = 1 ! nombre de jours d'int\'egration
6    integer:: day_step = 240 ! nombre de pas de temps de la dynamique par jour    integer:: day_step = 240 ! nombre de pas de temps de la dynamique par jour
7    integer:: iperiod = 5 ! periode pour le pas Matsuno (en pas de temps)    integer:: iperiod = 5 ! periode pour le pas Matsuno (en pas de temps)
8    
# Line 26  module conf_gcm_m Line 26  module conf_gcm_m
26    integer:: periodav = 1    integer:: periodav = 1
27    ! time interval between outputs in the dynamical part, in days    ! time interval between outputs in the dynamical part, in days
28    
29    logical:: offline = .FALSE.    logical:: offline = .FALSE. ! output variables for offline transport
   ! permet de mettre en route la nouvelle parametrisation de l'eau liquide  
30    
31    integer:: prt_level = 0 ! niveau d'impression souhait\'e (0 = minimum)    integer:: prt_level = 0 ! niveau d'impression souhait\'e (0 = minimum)
32    
# Line 35  module conf_gcm_m Line 34  module conf_gcm_m
34    ! Help = Choix du schema d'integration temporel.    ! Help = Choix du schema d'integration temporel.
35    ! y = pure Matsuno sinon c'est du Matsuno-leapfrog    ! y = pure Matsuno sinon c'est du Matsuno-leapfrog
36    
37    INTEGER:: iflag_phys = 1    logical:: iflag_phys = .true. ! call parameterizations of physics
38    ! contr\^ole l'appel \`a la physique :    INTEGER, SAVE:: lmt_pas ! number of time steps of "physics" per day
   ! 0 : pas de physique  
   ! 1 : physique normale (appel \`a phylmd, phymars...) (default)  
   ! 2 : rappel Newtonien pour la temp\'erature + friction au sol  
39    
40  contains  contains
41    
# Line 49  contains Line 45  contains
45      ! Version du 29/04/97      ! Version du 29/04/97
46    
47      use abort_gcm_m, only: abort_gcm      use abort_gcm_m, only: abort_gcm
48      use comdissnew, only: read_comdissnew      use nr_util, only: assert
49      use unit_nml_m, only: unit_nml      use unit_nml_m, only: unit_nml
50    
51      namelist /conf_gcm_nml/ raz_date, nday, day_step, iperiod, iapp_tracvl, &      namelist /conf_gcm_nml/ raz_date, nday, day_step, iperiod, iapp_tracvl, &
# Line 71  contains Line 67  contains
67      read(unit=*, nml=logic_nml)      read(unit=*, nml=logic_nml)
68      write(unit_nml, nml=logic_nml)      write(unit_nml, nml=logic_nml)
69    
     call read_comdissnew  
   
70      print *, "Enter namelist 'conf_gcm_nml'."      print *, "Enter namelist 'conf_gcm_nml'."
71      read(unit=*, nml=conf_gcm_nml)      read(unit=*, nml=conf_gcm_nml)
72      write(unit_nml, nml=conf_gcm_nml)      write(unit_nml, nml=conf_gcm_nml)
# Line 83  contains Line 77  contains
77      IF (MOD(day_step, iphysiq)/= 0) call abort_gcm("conf_gcm", &      IF (MOD(day_step, iphysiq)/= 0) call abort_gcm("conf_gcm", &
78           'Il faut choisir un nombre de pas par jour multiple de "iphysiq".')           'Il faut choisir un nombre de pas par jour multiple de "iphysiq".')
79    
80        call assert(mod(iphysiq, iperiod) == 0, &
81             "conf_gcm -- iphysiq must be multiple of iperiod")
82    
83        lmt_pas = day_step / iphysiq
84        print *, 'Number of time steps of "physics" per day: ', lmt_pas
85    
86    END SUBROUTINE conf_gcm    END SUBROUTINE conf_gcm
87    
88  end module conf_gcm_m  end module conf_gcm_m

Legend:
Removed from v.171  
changed lines
  Added in v.223

  ViewVC Help
Powered by ViewVC 1.1.21