/[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 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)
# Line 83  contains Line 82  contains
82      IF (MOD(day_step, iphysiq)/= 0) call abort_gcm("conf_gcm", &      IF (MOD(day_step, iphysiq)/= 0) call abort_gcm("conf_gcm", &
83           'Il faut choisir un nombre de pas par jour multiple de "iphysiq".')           'Il faut choisir un nombre de pas par jour multiple de "iphysiq".')
84    
85        lmt_pas = day_step / iphysiq
86        print *, 'Number of time steps of "physics" per day: ', lmt_pas
87    
88    END SUBROUTINE conf_gcm    END SUBROUTINE conf_gcm
89    
90  end module conf_gcm_m  end module conf_gcm_m

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

  ViewVC Help
Powered by ViewVC 1.1.21