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

Diff of /trunk/Sources/dyn3d/conf_gcm.f

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

revision 154 by guez, Tue Jul 7 17:49:23 2015 UTC revision 202 by guez, Wed Jun 8 12:23:41 2016 UTC
# Line 41  module conf_gcm_m Line 41  module conf_gcm_m
41    ! 1 : physique normale (appel \`a phylmd, phymars...) (default)    ! 1 : physique normale (appel \`a phylmd, phymars...) (default)
42    ! 2 : rappel Newtonien pour la temp\'erature + friction au sol    ! 2 : rappel Newtonien pour la temp\'erature + friction au sol
43    
44      INTEGER, SAVE:: lmt_pas ! number of time steps of "physics" per day
45    
46  contains  contains
47    
48    SUBROUTINE conf_gcm    SUBROUTINE conf_gcm
# Line 49  contains Line 51  contains
51      ! Version du 29/04/97      ! Version du 29/04/97
52    
53      use abort_gcm_m, only: abort_gcm      use abort_gcm_m, only: abort_gcm
     use comdissnew, only: read_comdissnew  
54      use unit_nml_m, only: unit_nml      use unit_nml_m, only: unit_nml
55    
56      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 72  contains
72      read(unit=*, nml=logic_nml)      read(unit=*, nml=logic_nml)
73      write(unit_nml, nml=logic_nml)      write(unit_nml, nml=logic_nml)
74    
     call read_comdissnew  
   
75      print *, "Enter namelist 'conf_gcm_nml'."      print *, "Enter namelist 'conf_gcm_nml'."
76      read(unit=*, nml=conf_gcm_nml)      read(unit=*, nml=conf_gcm_nml)
77      write(unit_nml, nml=conf_gcm_nml)      write(unit_nml, nml=conf_gcm_nml)
78    
79      IF (MOD(day_step, iperiod) /= 0) call abort_gcm(modname = "conf_gcm", &      IF (MOD(day_step, iperiod) /= 0) call abort_gcm("conf_gcm", &
80           message = &           'Il faut choisir un nombre de pas par jour multiple de "iperiod".')
81           'Il faut choisir un nombre de pas par jour multiple de "iperiod".', &  
82           ierr = 1)      IF (MOD(day_step, iphysiq)/= 0) call abort_gcm("conf_gcm", &
83             'Il faut choisir un nombre de pas par jour multiple de "iphysiq".')
84      IF (MOD(day_step, iphysiq)/= 0) call abort_gcm(modname = "conf_gcm", &  
85           message = &      lmt_pas = day_step / iphysiq
86           'Il faut choisir un nombre de pas par jour multiple de "iphysiq".', &      print *, 'Number of time steps of "physics" per day: ', lmt_pas
          ierr = 1)  
87    
88    END SUBROUTINE conf_gcm    END SUBROUTINE conf_gcm
89    

Legend:
Removed from v.154  
changed lines
  Added in v.202

  ViewVC Help
Powered by ViewVC 1.1.21