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

Contents of /trunk/dyn3d/conf_gcm.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 131 - (show 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 module conf_gcm_m
2
3 IMPLICIT NONE
4
5 INTEGER:: nday = 10 ! nombre de jours d'intégration
6 integer:: day_step = 240 ! nombre de pas par jour, multiple de iperiod
7
8 integer:: iperiod = 5
9 ! periode pour le pas Matsuno (en pas de temps)
10
11 integer:: iapp_tracvl = 5
12 ! Should normally be equal to "iperiod"
13 ! frequence du groupement des flux (en pas de temps)
14
15 integer:: iconser = 240
16 ! number of time steps between output of control variables
17
18 integer:: iecri = 1 ! time interval between outputs to "dyn_hist.nc" (in days)
19
20 integer:: iphysiq = 5
21 ! number of time steps of dynamics between calls to physics
22
23 logical:: raz_date = .false.
24 ! 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
28 integer:: periodav = 1
29 ! time interval between outputs in the dynamical part, in days
30
31 logical:: offline = .FALSE.
32 ! permet de mettre en route la nouvelle parametrisation de l'eau liquide
33
34 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 contains
47
48 SUBROUTINE conf_gcm
49
50 ! Auteurs : L. Fairhead, P. Le Van
51 ! Version du 29/04/97
52
53 use abort_gcm_m, only: abort_gcm
54 use comdissnew, only: read_comdissnew
55 use unit_nml_m, only: unit_nml
56
57 namelist /conf_gcm_nml/ raz_date, nday, day_step, iperiod, iapp_tracvl, &
58 iconser, iecri, periodav, iphysiq, offline
59
60 namelist /iniprint_nml/ prt_level
61
62 namelist /logic_nml/ purmats, iflag_phys
63
64 !------------------------------------
65
66 print *, "Call sequence information: conf_gcm"
67
68 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 call read_comdissnew
77
78 print *, "Enter namelist 'conf_gcm_nml'."
79 read(unit=*, nml=conf_gcm_nml)
80 write(unit_nml, nml=conf_gcm_nml)
81
82 IF (MOD(day_step, iperiod) /= 0) call abort_gcm(modname = "conf_gcm", &
83 message = &
84 'Il faut choisir un nombre de pas par jour multiple de "iperiod".', &
85 ierr = 1)
86
87 IF (MOD(day_step, iphysiq)/= 0) call abort_gcm(modname = "conf_gcm", &
88 message = &
89 'Il faut choisir un nombre de pas par jour multiple de "iphysiq".', &
90 ierr = 1)
91
92 END SUBROUTINE conf_gcm
93
94 end module conf_gcm_m

  ViewVC Help
Powered by ViewVC 1.1.21