/[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 18 by guez, Thu Aug 7 12:29:13 2008 UTC revision 23 by guez, Mon Dec 14 15:25:16 2009 UTC
# Line 19  PROGRAM gcm Line 19  PROGRAM gcm
19    use dimens_m, only: iim, jjm, llm, nqmx    use dimens_m, only: iim, jjm, llm, nqmx
20    use dimphy, only: klon    use dimphy, only: klon
21    use paramet_m, only: ip1jm, ip1jmp1    use paramet_m, only: ip1jm, ip1jmp1
22    use comconst, only: daysec, cpp, dtvr, dtphys, g, rad, r, initialize    use comconst, only: daysec, cpp, dtvr, g, rad, r, initialize
   
23    use comdissnew, only: lstardis, nitergdiv, nitergrot, niterh, tetagdiv, &    use comdissnew, only: lstardis, nitergdiv, nitergrot, niterh, tetagdiv, &
24         tetagrot, tetatemp         tetagrot, tetatemp
   
25    use conf_gcm_m, only: day_step, iperiod, anneeref, dayref, iecri, iphysiq, &    use conf_gcm_m, only: day_step, iperiod, anneeref, dayref, iecri, iphysiq, &
26         nday, raz_date, periodav, conf_gcm         nday, raz_date, periodav, conf_gcm
   
27    use logic, only: iflag_phys    use logic, only: iflag_phys
28    use comgeom, only: rlatu, aire_2d, cu_2d, cv_2d, rlonv    use comgeom, only: rlatu, aire_2d, cu_2d, cv_2d, rlonv
29    use temps, only: day_ref, annee_ref, day_ini, day_end, itau_dyn    use temps, only: day_ref, annee_ref, day_ini, day_end, itau_dyn
# Line 64  PROGRAM gcm Line 61  PROGRAM gcm
61    LOGICAL:: true_calendar = .false. ! default value    LOGICAL:: true_calendar = .false. ! default value
62    
63    ! Variables pour l'initialisation de la physique :    ! Variables pour l'initialisation de la physique :
   integer nq  
64    REAL zcufi(klon), zcvfi(klon) ! "cu" and "cv" values on the scalar grid    REAL zcufi(klon), zcvfi(klon) ! "cu" and "cv" values on the scalar grid
65    REAL latfi(klon), lonfi(klon)    REAL latfi(klon), lonfi(klon)
66    REAL airefi(klon)    REAL airefi(klon)
# Line 97  PROGRAM gcm Line 93  PROGRAM gcm
93    
94    ! Initialisation des traceurs    ! Initialisation des traceurs
95    ! 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
96    call iniadvtrac(nq)    call iniadvtrac
97    
98    ! Lecture du fichier "start.nc" :    ! Lecture du fichier "start.nc" :
99    CALL dynetat0(vcov, ucov, teta, q, masse, ps, phis, time_0)    CALL dynetat0(vcov, ucov, teta, q, masse, ps, phis, time_0)
# Line 203  PROGRAM gcm Line 199  PROGRAM gcm
199    istphy = istdyn / iphysiq        istphy = istdyn / iphysiq    
200    
201    ! Intégration temporelle du modèle :    ! Intégration temporelle du modèle :
202    CALL leapfrog(ucov, vcov, teta, ps, masse, phis, nq, q, time_0)    CALL leapfrog(ucov, vcov, teta, ps, masse, phis, q, time_0)
203    
204    call histclo    call histclo
205    print *, 'Simulation finished'    print *, 'Simulation finished'

Legend:
Removed from v.18  
changed lines
  Added in v.23

  ViewVC Help
Powered by ViewVC 1.1.21