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

Diff of /trunk/dyn3d/gcm.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by guez, Fri Apr 18 14:45:53 2008 UTC revision 13 by guez, Fri Jul 25 19:59:34 2008 UTC
# Line 29  PROGRAM gcm Line 29  PROGRAM gcm
29    
30    use logic, only: iflag_phys    use logic, only: iflag_phys
31    use comgeom, only: rlatu, aire_2d, cu_2d, cv_2d, rlonv    use comgeom, only: rlatu, aire_2d, cu_2d, cv_2d, rlonv
32    use temps, only: day_ref, annee_ref, day_ini, day_end, itau_phy, itau_dyn    use temps, only: day_ref, annee_ref, day_ini, day_end, itau_dyn
33    use com_io_dyn, only: histid, histvid, histaveid    use com_io_dyn, only: histid, histvid, histaveid
34    use tracstoke, only: istdyn, istphy    use tracstoke, only: istdyn, istphy
35    use abort_gcm_m, only: abort_gcm    use abort_gcm_m, only: abort_gcm
# Line 40  PROGRAM gcm Line 40  PROGRAM gcm
40    use advtrac_m, only: iniadvtrac    use advtrac_m, only: iniadvtrac
41    use leapfrog_m, only: leapfrog    use leapfrog_m, only: leapfrog
42    use dynredem0_m, only: dynredem0    use dynredem0_m, only: dynredem0
43      use clesphys2, only: read_clesphys2
44    
45    IMPLICIT NONE    IMPLICIT NONE
46    
   REAL clesphy0(20)  
47    REAL zdtvr ! time step for dynamics, in s    REAL zdtvr ! time step for dynamics, in s
48    
49    ! Variables dynamiques :    ! Variables dynamiques :
# Line 92  PROGRAM gcm Line 92  PROGRAM gcm
92    endif    endif
93    
94    ! Lecture des fichiers "gcm.def" ou "run.def" :    ! Lecture des fichiers "gcm.def" ou "run.def" :
95    CALL conf_gcm(clesphy0)    call read_clesphys2
96      CALL conf_gcm
97    
98    ! Initialisation des traceurs    ! Initialisation des traceurs
99    ! Choix du schéma pour l'advection dans le fichier "traceur.def" ou via INCA    ! Choix du schéma pour l'advection dans le fichier "traceur.def" ou via INCA
# Line 127  PROGRAM gcm Line 128  PROGRAM gcm
128          day_ref = dayref          day_ref = dayref
129          day_ini = dayref          day_ini = dayref
130          itau_dyn = 0          itau_dyn = 0
         itau_phy = 0  
131          time_0 = 0.          time_0 = 0.
132       endif       endif
133    ELSE    ELSE
# Line 203  PROGRAM gcm Line 203  PROGRAM gcm
203    istphy = istdyn / iphysiq        istphy = istdyn / iphysiq    
204    
205    ! Intégration temporelle du modèle :    ! Intégration temporelle du modèle :
206    CALL leapfrog(ucov, vcov, teta, ps, masse, phis, nq, q, clesphy0, time_0)    CALL leapfrog(ucov, vcov, teta, ps, masse, phis, nq, q, time_0)
207    
208    call histclo    call histclo
209    print *, 'Simulation finished'    print *, 'Simulation finished'

Legend:
Removed from v.10  
changed lines
  Added in v.13

  ViewVC Help
Powered by ViewVC 1.1.21