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

Diff of /trunk/dyn3d/gcm.f

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

trunk/libf/dyn3d/gcm.f90 revision 61 by guez, Fri Apr 20 14:58:43 2012 UTC trunk/dyn3d/gcm.f90 revision 78 by guez, Wed Feb 5 17:51:07 2014 UTC
# Line 9  PROGRAM gcm Line 9  PROGRAM gcm
9    ! l'advection de "q", en modifiant "iadv" dans "traceur.def".    ! l'advection de "q", en modifiant "iadv" dans "traceur.def".
10    
11    USE calendar, only: ioconf_calendar    USE calendar, only: ioconf_calendar
   use clesphys2, only: read_clesphys2  
12    use comconst, only: daysec, cpp, dtvr, g, rad, r    use comconst, only: daysec, cpp, dtvr, g, rad, r
13    use comgeom, only: rlatu, aire_2d, cu_2d, cv_2d, rlonv    use comgeom, only: rlatu, aire_2d, cu_2d, cv_2d, rlonv, inigeom
14    use comgeomphy, only: airephy, cuphy, cvphy, rlatd, rlond    use comgeomphy, only: airephy, cuphy, cvphy, rlatd, rlond
15    use conf_gcm_m, only: day_step, iperiod, anneeref, dayref, iecri, iphysiq, &    use conf_gcm_m, only: day_step, iperiod, anneeref, dayref, iecri, iphysiq, &
16         nday, raz_date, periodav, conf_gcm, iflag_phys         nday, raz_date, periodav, conf_gcm, iflag_phys
# Line 24  PROGRAM gcm Line 23  PROGRAM gcm
23    use iniadvtrac_m, only: iniadvtrac    use iniadvtrac_m, only: iniadvtrac
24    use inidissip_m, only: inidissip    use inidissip_m, only: inidissip
25    use inifilr_m, only: inifilr    use inifilr_m, only: inifilr
   use inigeom_m, only: inigeom  
26    use initdynav_m, only: initdynav    use initdynav_m, only: initdynav
27    use inithist_m, only: inithist    use inithist_m, only: inithist
28    use init_dynzon_m, only: init_dynzon    use init_dynzon_m, only: init_dynzon
# Line 78  PROGRAM gcm Line 76  PROGRAM gcm
76       call ioconf_calendar('360d')       call ioconf_calendar('360d')
77    endif    endif
78    
   ! Lecture des fichiers "gcm.def" ou "run.def" :  
   call read_clesphys2  
   
79    ! Initialisation des traceurs    ! Initialisation des traceurs
80    ! 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
81    call iniadvtrac    call iniadvtrac
# Line 118  PROGRAM gcm Line 113  PROGRAM gcm
113    ENDIF    ENDIF
114    
115    CALL iniconst    CALL iniconst
   close(unit_nml)  
116    CALL inigeom ! initialisation de la géometrie    CALL inigeom ! initialisation de la géometrie
117    CALL inifilr ! initialisation du filtre    CALL inifilr ! initialisation du filtre
118    CALL inidissip    CALL inidissip
# Line 169  PROGRAM gcm Line 163  PROGRAM gcm
163    ! Intégration temporelle du modèle :    ! Intégration temporelle du modèle :
164    CALL leapfrog(ucov, vcov, teta, ps, masse, phis, q, time_0)    CALL leapfrog(ucov, vcov, teta, ps, masse, phis, q, time_0)
165    
166      close(unit_nml)
167    call histclo    call histclo
168    print *, 'Simulation finished'    print *, 'Simulation finished'
169    print *, 'Everything is cool'    print *, 'Everything is cool'

Legend:
Removed from v.61  
changed lines
  Added in v.78

  ViewVC Help
Powered by ViewVC 1.1.21