Ignore:
Timestamp:
Jul 22, 2016, 8:44:47 AM (8 years ago)
Author:
Ehouarn Millour
Message:

Cleanup in the dynamics: get rid of comconst.h, make it a module comconst_mod.
EM

File:
1 edited

Legend:

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

    r2438 r2597  
    2323  USE control_mod
    2424  USE mod_const_mpi, ONLY: COMM_LMDZ
    25 
     25  USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad
    2626
    2727!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    6868  include "dimensions.h"
    6969  include "paramet.h"
    70   include "comconst.h"
    7170  include "comdissnew.h"
    7271  include "comvert.h"
     
    7473  include "logic.h"
    7574  include "temps.h"
    76 !!!!!!!!!!!include "control.h"
    7775  include "ener.h"
    7876  include "description.h"
     
    8987  REAL, ALLOCATABLE, DIMENSION(:,:,:):: q! champs advectes
    9088  REAL ps(ip1jmp1)                       ! pression  au sol
    91   REAL p (ip1jmp1,llmp1  )               ! pression aux interfac.des couches
     89!  REAL p (ip1jmp1,llmp1  )               ! pression aux interfac.des couches
    9290  REAL masse(ip1jmp1,llm)                ! masse d'air
    9391  REAL phis(ip1jmp1)                     ! geopotentiel au sol
    94   REAL phi(ip1jmp1,llm)                  ! geopotentiel
    95   REAL w(ip1jmp1,llm)                    ! vitesse verticale
     92!  REAL phi(ip1jmp1,llm)                  ! geopotentiel
     93!  REAL w(ip1jmp1,llm)                    ! vitesse verticale
    9694
    9795  ! variables dynamiques intermediaire pour le transport
     
    103101
    104102  LOGICAL lafin
    105   INTEGER ij,iq,l,i,j
    106103
    107104
    108105  real time_step, t_wrt, t_ops
    109 
    110   LOGICAL first
    111106
    112107  !      LOGICAL call_iniphys
     
    118113  !     tansformation d'energie cinetique en energie thermique
    119114  !     cree par la dissipation
    120   REAL dhecdt(ip1jmp1,llm)
     115!  REAL dhecdt(ip1jmp1,llm)
    121116  !      REAL vcont(ip1jm,llm),ucont(ip1jmp1,llm)
    122117  !      REAL      d_h_vcol, d_qt, d_qw, d_ql, d_ec
    123   CHARACTER (len=15) :: ztit
     118!  CHARACTER (len=15) :: ztit
    124119  !-jld
    125120
Note: See TracChangeset for help on using the changeset viewer.