Ignore:
Timestamp:
Jul 24, 2016, 11:51:55 AM (8 years ago)
Author:
Ehouarn Millour
Message:

Cleanup in the dynamics: turn temps.h into module temps_mod.F90
EM

Location:
LMDZ5/trunk/libf/dyn3d
Files:
10 edited
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3d/advtrac.F90

    r2600 r2601  
    2020  include "comgeom2.h"
    2121  include "logic.h"
    22   include "temps.h"
    2322  include "ener.h"
    2423  include "description.h"
  • LMDZ5/trunk/libf/dyn3d/bilan_dyn.F

    r2600 r2601  
    1515      USE comconst_mod, ONLY: pi, cpp
    1616      USE comvert_mod, ONLY: presnivs
     17      USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn
    1718
    1819      IMPLICIT NONE
     
    2122      include "paramet.h"
    2223      include "comgeom2.h"
    23       include "temps.h"
    2424      include "iniprint.h"
    2525
  • LMDZ5/trunk/libf/dyn3d/conf_gcm.F90

    r2598 r2601  
    1818  USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, &
    1919                       alphax,alphay,taux,tauy
     20  USE temps_mod, ONLY: calend
    2021
    2122  IMPLICIT NONE
     
    3839  include "logic.h"
    3940  include "comdissnew.h"
    40   include "temps.h"
    4141  include "iniprint.h"
    4242
  • LMDZ5/trunk/libf/dyn3d/dynetat0.f90

    r2600 r2601  
    1414  USE comconst_mod, ONLY: cpp, daysec, dtvr, g, im, jm, kappa, lllm, omeg, rad
    1515  USE serre_mod, ONLY: clon, clat, grossismx, grossismy
     16  USE temps_mod, ONLY: annee_ref, day_ini, day_ref, itau_dyn, start_time
    1617
    1718  IMPLICIT NONE
    1819  include "dimensions.h"
    1920  include "paramet.h"
    20   include "temps.h"
    2121  include "comgeom2.h"
    2222  include "ener.h"
  • LMDZ5/trunk/libf/dyn3d/dynredem.F90

    r2600 r2601  
    1616  USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, &
    1717                              taux,tauy
     18  USE temps_mod, ONLY: annee_ref, day_ref, itau_dyn, itaufin, start_time
     19 
    1820  IMPLICIT NONE
    1921  include "dimensions.h"
    2022  include "paramet.h"
    2123  include "comgeom2.h"
    22   include "temps.h"
    2324  include "ener.h"
    2425  include "logic.h"
     
    170171  USE dynredem_mod, ONLY: dynredem_write_u, dynredem_write_v, dynredem_read_u, &
    171172                          err, modname, fil, msg
     173  USE temps_mod, ONLY: itau_dyn, itaufin
     174 
    172175  IMPLICIT NONE
    173176  include "dimensions.h"
     
    175178  include "description.h"
    176179  include "comgeom.h"
    177   include "temps.h"
    178180  include "iniprint.h"
    179181!===============================================================================
  • LMDZ5/trunk/libf/dyn3d/fluxstokenc.F

    r2600 r2601  
    2020      include "comgeom.h"
    2121      include "tracstoke.h"
    22       include "temps.h"
    2322      include "iniprint.h"
    2423
  • LMDZ5/trunk/libf/dyn3d/gcm.F90

    r2600 r2601  
    2323  USE control_mod
    2424  USE mod_const_mpi, ONLY: COMM_LMDZ
     25  USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, &
     26                     itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end
    2527  USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad
    2628
     
    7173  include "comgeom.h"
    7274  include "logic.h"
    73   include "temps.h"
    7475  include "ener.h"
    7576  include "description.h"
  • LMDZ5/trunk/libf/dyn3d/iniacademic.F90

    r2600 r2601  
    1818  USE comconst_mod, ONLY: cpp, kappa, g, daysec, dtvr, pi, im, jm
    1919  USE comvert_mod, ONLY: ap, bp, preff, presnivs, pressure_exner
     20  USE temps_mod, ONLY: annee_ref, day_ini, day_ref
    2021
    2122  !   Author:    Frederic Hourdin      original: 15/01/93
     
    3334  include "academic.h"
    3435  include "ener.h"
    35   include "temps.h"
    3636  include "iniprint.h"
    3737  include "logic.h"
  • LMDZ5/trunk/libf/dyn3d/integrd.F

    r2600 r2601  
    1010      use comconst_mod, only: pi
    1111      use comvert_mod, only: ap, bp
     12      USE temps_mod, ONLY: dt
    1213
    1314      IMPLICIT NONE
     
    3334      include "comgeom.h"
    3435      include "logic.h"
    35       include "temps.h"
    3636      include "iniprint.h"
    3737
  • LMDZ5/trunk/libf/dyn3d/leapfrog.F

    r2600 r2601  
    2222      USE comvert_mod, ONLY: ap,bp,pressure_exner,presnivs
    2323      USE comconst_mod, ONLY: cpp, dtphys, dtvr, pi, ihf
     24      USE temps_mod, ONLY: jD_ref,jH_ref,itaufin,day_ini,day_ref,
     25     &                        start_time,dt
    2426
    2527      IMPLICIT NONE
     
    6163      include "comgeom.h"
    6264      include "logic.h"
    63       include "temps.h"
    6465      include "ener.h"
    6566      include "description.h"
  • LMDZ5/trunk/libf/dyn3d/temps_mod.F90

    r2600 r2601  
    22! $Id$
    33!
    4 !  ATTENTION!!!!: ce fichier include est compatible format fixe/format libre
    5 !                 veillez  n'utiliser que des ! pour les commentaires
    6 !                 et  bien positionner les & des lignes de continuation
    7 !                 (les placer en colonne 6 et en colonne 73)
    8 !
    9 !
    10 ! jD_ref = jour julien de la date de reference (lancement de l'experience)
    11 ! hD_ref = "heure" julienne de la date de reference
    12 !-----------------------------------------------------------------------
    13 ! INCLUDE 'temps.h'
     4MODULE temps_mod
    145
    15       COMMON/temps/ dt, jD_ref, jH_ref, start_time,                     &
    16      &             day_ini, day_end, annee_ref, day_ref,                &
    17      &             itau_dyn, itau_phy, itaufin, calend
     6IMPLICIT NONE 
    187
     8  INTEGER   itaufin ! total number of dynamical steps for the run
     9  INTEGER   itau_dyn
     10  INTEGER   itau_phy
     11  INTEGER   day_ini ! initial day # of simulation sequence
     12  INTEGER   day_end ! final day # ; i.e. day # when this simulation ends
     13  INTEGER   annee_ref
     14  INTEGER   day_ref
     15  REAL      dt ! (dynamics) time step (changes if doing Matsuno or LF step)
     16  REAL      jD_ref ! reference julian day date (beginning of experiment)
     17  REAL      jH_ref ! reference julian "hour" of reference julian date
     18  REAL      start_time
     19  CHARACTER (len=10) :: calend ! calendar type
    1920
    20       INTEGER   itaufin
    21       INTEGER itau_dyn, itau_phy
    22       INTEGER day_ini, day_end, annee_ref, day_ref
    23       REAL      dt, jD_ref, jH_ref, start_time
    24       CHARACTER (len=10) :: calend
     21  ! Additionnal Mars stuff:
     22  REAL hour_ini ! initial fraction of day of simulation sequence (0=<hour_ini<1)
    2523
    26 !-----------------------------------------------------------------------
     24END MODULE temps_mod
Note: See TracChangeset for help on using the changeset viewer.