13 |
use comgeomphy, only: airephy, cuphy, cvphy, rlatd, rlond |
use comgeomphy, only: airephy, cuphy, cvphy, rlatd, rlond |
14 |
use conf_gcm_m, only: day_step, iperiod, anneeref, dayref, iecri, iphysiq, & |
use conf_gcm_m, only: day_step, iperiod, anneeref, dayref, iecri, iphysiq, & |
15 |
nday, raz_date, periodav, conf_gcm, iflag_phys |
nday, raz_date, periodav, conf_gcm, iflag_phys |
16 |
|
use conf_guide_m, only: conf_guide |
17 |
use dimens_m, only: iim, jjm, llm, nqmx |
use dimens_m, only: iim, jjm, llm, nqmx |
18 |
use dimphy, only: klon |
use dimphy, only: klon |
19 |
USE disvert_m, ONLY : disvert |
USE disvert_m, ONLY : disvert |
30 |
USE ioconf_calendar_m, only: ioconf_calendar |
USE ioconf_calendar_m, only: ioconf_calendar |
31 |
use jumble, only: new_unit |
use jumble, only: new_unit |
32 |
use leapfrog_m, only: leapfrog |
use leapfrog_m, only: leapfrog |
33 |
|
use netcdf95, only: nf95_close |
34 |
use suphec_m, only: suphec |
use suphec_m, only: suphec |
35 |
use temps, only: day_ref, annee_ref, day_end, itau_dyn |
use temps, only: day_ref, annee_ref, day_end, itau_dyn |
36 |
use tracstoke, only: istdyn, istphy |
use tracstoke, only: istdyn, istphy |
37 |
use unit_nml_m, only: unit_nml |
use unit_nml_m, only: unit_nml |
38 |
use yoethf_m, only: yoethf |
use yoethf_m, only: yoethf |
39 |
|
use createnewfield_m, only: NbField, Ncid |
40 |
|
|
41 |
IMPLICIT NONE |
IMPLICIT NONE |
42 |
|
|
58 |
! (mask for points in the "v" grid, first index is for longitude, |
! (mask for points in the "v" grid, first index is for longitude, |
59 |
! second index is for latitude) |
! second index is for latitude) |
60 |
|
|
61 |
|
integer i |
62 |
|
|
63 |
namelist /main_nml/true_calendar |
namelist /main_nml/true_calendar |
64 |
|
|
65 |
!------------------------------------------------------------ |
!------------------------------------------------------------ |
149 |
istdyn = day_step / 4 ! stockage toutes les 6 h = 1 jour / 4 |
istdyn = day_step / 4 ! stockage toutes les 6 h = 1 jour / 4 |
150 |
istphy = istdyn / iphysiq |
istphy = istdyn / iphysiq |
151 |
|
|
152 |
|
CALL conf_guide |
153 |
|
|
154 |
! Intégration temporelle du modèle : |
! Intégration temporelle du modèle : |
155 |
CALL leapfrog(ucov, vcov, teta, ps, masse, phis, q, time_0) |
CALL leapfrog(ucov, vcov, teta, ps, masse, phis, q, time_0) |
156 |
|
|
157 |
close(unit_nml) |
close(unit_nml) |
158 |
call histclo |
call histclo |
159 |
|
|
160 |
|
do i = 1, nbfield |
161 |
|
call nf95_close(Ncid(i)) |
162 |
|
end do |
163 |
|
|
164 |
print *, 'Simulation finished' |
print *, 'Simulation finished' |
165 |
print *, 'Everything is cool' |
print *, 'Everything is cool' |
166 |
|
|