2 |
|
|
3 |
IMPLICIT NONE |
IMPLICIT NONE |
4 |
|
|
5 |
INTEGER:: nday = 10 ! nombre de jours d'int\'egration |
INTEGER:: nday = 1 ! nombre de jours d'int\'egration |
6 |
integer:: day_step = 240 ! nombre de pas de temps de la dynamique par jour |
integer:: day_step = 240 ! nombre de pas de temps de la dynamique par jour |
7 |
integer:: iperiod = 5 ! periode pour le pas Matsuno (en pas de temps) |
integer:: iperiod = 5 ! periode pour le pas Matsuno (en pas de temps) |
8 |
|
|
13 |
integer:: iconser = 240 |
integer:: iconser = 240 |
14 |
! number of time steps between output of control variables |
! number of time steps between output of control variables |
15 |
|
|
16 |
integer:: iecri = 1 ! time interval between outputs to "dyn_hist.nc" (in days) |
integer:: iecri = 1 |
17 |
|
! number of time steps of dynamics between outputs to "dyn_hist*.nc" |
18 |
|
|
19 |
integer:: iphysiq = 5 |
integer:: iphysiq = 5 |
20 |
! number of time steps of dynamics between calls to physics |
! number of time steps of dynamics between calls to physics |
27 |
integer:: periodav = 1 |
integer:: periodav = 1 |
28 |
! time interval between outputs in the dynamical part, in days |
! time interval between outputs in the dynamical part, in days |
29 |
|
|
|
logical:: offline = .FALSE. |
|
|
! permet de mettre en route la nouvelle parametrisation de l'eau liquide |
|
|
|
|
30 |
integer:: prt_level = 0 ! niveau d'impression souhait\'e (0 = minimum) |
integer:: prt_level = 0 ! niveau d'impression souhait\'e (0 = minimum) |
31 |
|
|
32 |
LOGICAL:: purmats= .FALSE. |
LOGICAL:: purmats= .FALSE. |
33 |
! Help = Choix du schema d'integration temporel. |
! Help = Choix du schema d'integration temporel. |
34 |
! y = pure Matsuno sinon c'est du Matsuno-leapfrog |
! y = pure Matsuno sinon c'est du Matsuno-leapfrog |
35 |
|
|
36 |
INTEGER:: iflag_phys = 1 |
logical:: iflag_phys = .true. ! call parameterizations of physics |
37 |
! contr\^ole l'appel \`a la physique : |
INTEGER, SAVE:: lmt_pas ! number of time steps of "physics" per day |
|
! 0 : pas de physique |
|
|
! 1 : physique normale (appel \`a phylmd, phymars...) (default) |
|
|
! 2 : rappel Newtonien pour la temp\'erature + friction au sol |
|
38 |
|
|
39 |
contains |
contains |
40 |
|
|
44 |
! Version du 29/04/97 |
! Version du 29/04/97 |
45 |
|
|
46 |
use abort_gcm_m, only: abort_gcm |
use abort_gcm_m, only: abort_gcm |
47 |
|
use nr_util, only: assert |
48 |
use unit_nml_m, only: unit_nml |
use unit_nml_m, only: unit_nml |
49 |
|
|
50 |
namelist /conf_gcm_nml/ raz_date, nday, day_step, iperiod, iapp_tracvl, & |
namelist /conf_gcm_nml/ raz_date, nday, day_step, iperiod, iapp_tracvl, & |
51 |
iconser, iecri, periodav, iphysiq, offline |
iconser, iecri, periodav, iphysiq |
52 |
|
|
53 |
namelist /iniprint_nml/ prt_level |
namelist /iniprint_nml/ prt_level |
54 |
|
|
76 |
IF (MOD(day_step, iphysiq)/= 0) call abort_gcm("conf_gcm", & |
IF (MOD(day_step, iphysiq)/= 0) call abort_gcm("conf_gcm", & |
77 |
'Il faut choisir un nombre de pas par jour multiple de "iphysiq".') |
'Il faut choisir un nombre de pas par jour multiple de "iphysiq".') |
78 |
|
|
79 |
|
call assert(mod(iphysiq, iperiod) == 0, & |
80 |
|
"conf_gcm -- iphysiq must be multiple of iperiod") |
81 |
|
|
82 |
|
lmt_pas = day_step / iphysiq |
83 |
|
print *, 'Number of time steps of "physics" per day: ', lmt_pas |
84 |
|
|
85 |
END SUBROUTINE conf_gcm |
END SUBROUTINE conf_gcm |
86 |
|
|
87 |
end module conf_gcm_m |
end module conf_gcm_m |