/[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 102 by guez, Tue Jul 15 13:43:24 2014 UTC revision 113 by guez, Thu Sep 18 19:56:46 2014 UTC
# Line 42  module conf_gcm_m Line 42  module conf_gcm_m
42    ! Help = Choix du schema d'integration temporel.    ! Help = Choix du schema d'integration temporel.
43    ! y = pure Matsuno sinon c'est du Matsuno-leapfrog    ! y = pure Matsuno sinon c'est du Matsuno-leapfrog
44    
   logical:: fxyhypb = .TRUE.  
   ! fonction f(y) à dérivée tangente hyperbolique, sinon à dérivée  
   ! sinusoïdale  
   
   logical:: ysinus = .TRUE.  
   ! (Fonction f(y) avec y = Sin(latit.) si = .true. sinon y = latit.)  
   
45    logical:: ok_guide= .FALSE. ! guidage    logical:: ok_guide= .FALSE. ! guidage
46    
47    INTEGER:: iflag_phys = 1    INTEGER:: iflag_phys = 1
# Line 65  contains Line 58  contains
58      ! Version du 29/04/97      ! Version du 29/04/97
59    
60      ! On ne compare pas les paramètres du zoom (grossismx, grossismy,      ! On ne compare pas les paramètres du zoom (grossismx, grossismy,
61      ! clon, clat, fxyhypb) lus sur le fichier start avec ceux lus dans      ! clon, clat) lus sur le fichier start avec ceux lus dans
62      ! une namelist, au début de gcm. Ces paramètres définissent entre      ! une namelist, au début de gcm. Ces paramètres définissent entre
63      ! autres la grille et doivent être identiques, sinon il y aura      ! autres la grille et doivent être identiques, sinon il y aura
64      ! divergence du gcm.      ! divergence du gcm.
65    
66      use abort_gcm_m, only: abort_gcm      use abort_gcm_m, only: abort_gcm
67      use comdissnew, only: read_comdissnew      use comdissnew, only: read_comdissnew
     use serre, only: clon, clat, grossismx, grossismy, alphax, alphay, &  
          dzoomx, dzoomy, taux, tauy  
68      use unit_nml_m, only: unit_nml      use unit_nml_m, only: unit_nml
69    
70      namelist /conf_gcm_nml/dayref, anneeref, raz_date, nday, day_step, &      namelist /conf_gcm_nml/dayref, anneeref, raz_date, nday, day_step, &
71           iperiod, iapp_tracvl, iconser, iecri, periodav, &           iperiod, iapp_tracvl, iconser, iecri, periodav, iphysiq, offline
          iphysiq, clon, clat, grossismx, grossismy, dzoomx, dzoomy, taux, &  
          tauy, offline  
72    
73      namelist /iniprint_nml/prt_level      namelist /iniprint_nml/prt_level
74    
75      namelist /logic_nml/ purmats, fxyhypb, ysinus, ok_guide, iflag_phys      namelist /logic_nml/ purmats, ok_guide, iflag_phys
76    
77      !------------------------------------      !------------------------------------
78    
# Line 117  contains Line 106  contains
106           abort_gcm(modname = "conf_gcm", &           abort_gcm(modname = "conf_gcm", &
107           message = 'ok_guide day_step iperiod', ierr = 1)           message = 'ok_guide day_step iperiod', ierr = 1)
108    
     IF (grossismx < 1.) THEN  
        PRINT *, 'Error: grossismx < 1'  
        STOP 1  
     ELSE  
        alphax = 1. - 1. / grossismx  
     ENDIF  
     IF (grossismy < 1.) THEN  
        PRINT *, 'Error: grossismy < 1'  
        STOP 1  
     ELSE  
        alphay = 1. - 1. / grossismy  
     ENDIF  
     PRINT *, 'alphax = ', alphax  
     PRINT *, 'alphay = ', alphay  
   
109    END SUBROUTINE conf_gcm    END SUBROUTINE conf_gcm
110    
111  end module conf_gcm_m  end module conf_gcm_m

Legend:
Removed from v.102  
changed lines
  Added in v.113

  ViewVC Help
Powered by ViewVC 1.1.21