source: trunk/LMDZ.MARS/libf/aeronomars/conc_mod.F90 @ 1242

Last change on this file since 1242 was 1047, checked in by emillour, 11 years ago

Mars GCM:

  • IMPORTANT CHANGE: Removed all reference/use of ngridmx (dimphys.h) in routines (necessary prerequisite to using parallel dynamics); in most cases this just means adding 'ngrid' as routine argument, and making local saved variables allocatable (and allocated at first call). In the process, had to convert many *.h files to equivalent modules: yomaer.h => yomaer_h.F90 , surfdat.h => surfdat_h.F90 , comsaison.h => comsaison_h.F90 , yomlw.h => yomlw_h.F90 , comdiurn.h => comdiurn_h.F90 , dimradmars.h => dimradmars_mod.F90 , comgeomfi.h => comgeomfi_h.F90, comsoil.h => comsoil_h.F90 , slope.h => slope_mod.F90
  • Also updated EOF routines, everything is now in eofdump_mod.F90
  • Removed unused routine lectfux.F (in dyn3d)

EM

File size: 693 bytes
Line 
1module conc_mod
2
3implicit none
4
5  real,save,allocatable :: mmean(:,:)  ! mean molecular mass of the atmosphere
6  real,save,allocatable :: Akknew(:,:) ! thermal conductivity cofficient
7  real,save,allocatable :: cpnew(:,:)  ! specicic heat
8  real,save,allocatable :: rnew(:,:)   ! specific gas constant
9 
10contains
11
12  subroutine ini_conc_mod(ngrid,nlayer)
13 
14  implicit none
15  integer,intent(in) :: ngrid ! number of atmospheric columns
16  integer,intent(in) :: nlayer ! number of atmospheric levels
17 
18    allocate(mmean(ngrid,nlayer))
19    allocate(Akknew(ngrid,nlayer))
20    allocate(cpnew(ngrid,nlayer))
21    allocate(rnew(ngrid,nlayer))
22   
23  end subroutine ini_conc_mod
24
25end module conc_mod
Note: See TracBrowser for help on using the repository browser.