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

Annotation of /trunk/dyn3d/conf_gcm.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 131 - (hide annotations)
Fri Feb 27 16:44:07 2015 UTC (9 years, 2 months ago) by guez
File size: 2771 byte(s)
Renamed procedure fxhyp_loop_ik to invert_zoom_x.

Bug fix. clat is now in rad so there should be no conversion in
fyhyp. (This bug had an effect only if clat was /= 0.)

No need for heavyside to be double precision.

Removed variable tnom of module iniadvtrac_m. Was redundant with tname.

1 guez 3 module conf_gcm_m
2    
3     IMPLICIT NONE
4    
5 guez 39 INTEGER:: nday = 10 ! nombre de jours d'intégration
6     integer:: day_step = 240 ! nombre de pas par jour, multiple de iperiod
7 guez 3
8 guez 39 integer:: iperiod = 5
9 guez 3 ! periode pour le pas Matsuno (en pas de temps)
10    
11 guez 39 integer:: iapp_tracvl = 5
12 guez 3 ! Should normally be equal to "iperiod"
13     ! frequence du groupement des flux (en pas de temps)
14    
15 guez 39 integer:: iconser = 240
16     ! number of time steps between output of control variables
17 guez 3
18 guez 39 integer:: iecri = 1 ! time interval between outputs to "dyn_hist.nc" (in days)
19 guez 3
20 guez 40 integer:: iphysiq = 5
21     ! number of time steps of dynamics between calls to physics
22    
23 guez 15 logical:: raz_date = .false.
24 guez 98 ! prise en compte de la date initiale de la namelist et remise à
25     ! zéro des compteurs de pas de temps (sinon on garde la date du
26     ! fichier restart)
27 guez 3
28 guez 56 integer:: periodav = 1
29     ! time interval between outputs in the dynamical part, in days
30 guez 3
31 guez 12 logical:: offline = .FALSE.
32 guez 33 ! permet de mettre en route la nouvelle parametrisation de l'eau liquide
33 guez 3
34 guez 57 integer:: prt_level = 0 ! niveau d'impression souhaité (0 = minimum)
35    
36     LOGICAL:: purmats= .FALSE.
37     ! Help = Choix du schema d'integration temporel.
38     ! y = pure Matsuno sinon c'est du Matsuno-leapfrog
39    
40     INTEGER:: iflag_phys = 1
41     ! contrôle l'appel à la physique :
42     ! 0 : pas de physique
43     ! 1 : physique normale (appel à phylmd, phymars...) (default)
44     ! 2 : rappel Newtonien pour la température + friction au sol
45    
46 guez 3 contains
47    
48 guez 13 SUBROUTINE conf_gcm
49 guez 3
50     ! Auteurs : L. Fairhead, P. Le Van
51     ! Version du 29/04/97
52    
53 guez 33 use abort_gcm_m, only: abort_gcm
54 guez 3 use comdissnew, only: read_comdissnew
55 guez 57 use unit_nml_m, only: unit_nml
56 guez 3
57 guez 129 namelist /conf_gcm_nml/ raz_date, nday, day_step, iperiod, iapp_tracvl, &
58     iconser, iecri, periodav, iphysiq, offline
59 guez 3
60 guez 129 namelist /iniprint_nml/ prt_level
61 guez 57
62 guez 115 namelist /logic_nml/ purmats, iflag_phys
63 guez 57
64 guez 3 !------------------------------------
65    
66     print *, "Call sequence information: conf_gcm"
67 guez 12
68 guez 57 print *, "Enter namelist 'iniprint_nml'."
69     read(unit=*, nml=iniprint_nml)
70     write(unit_nml, nml=iniprint_nml)
71    
72     print *, "Enter namelist 'logic_nml'."
73     read(unit=*, nml=logic_nml)
74     write(unit_nml, nml=logic_nml)
75    
76 guez 12 call read_comdissnew
77 guez 3
78     print *, "Enter namelist 'conf_gcm_nml'."
79     read(unit=*, nml=conf_gcm_nml)
80 guez 57 write(unit_nml, nml=conf_gcm_nml)
81 guez 3
82 guez 40 IF (MOD(day_step, iperiod) /= 0) call abort_gcm(modname = "conf_gcm", &
83 guez 33 message = &
84     'Il faut choisir un nombre de pas par jour multiple de "iperiod".', &
85     ierr = 1)
86    
87 guez 69 IF (MOD(day_step, iphysiq)/= 0) call abort_gcm(modname = "conf_gcm", &
88 guez 40 message = &
89 guez 33 'Il faut choisir un nombre de pas par jour multiple de "iphysiq".', &
90     ierr = 1)
91    
92 guez 3 END SUBROUTINE conf_gcm
93    
94     end module conf_gcm_m

  ViewVC Help
Powered by ViewVC 1.1.21