source: trunk/LMDZ.MARS/libf/phymars/comsaison_h.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: 449 bytes
RevLine 
[1047]1module comsaison_h
2
3implicit none
4
5  logical,save :: callsais
6  integer,save :: isaison
7  real,save :: dist_sol
8  real,save :: declin
9  real,save,allocatable :: mu0(:)
10  real,save,allocatable :: fract(:)
11
12contains
13
14  subroutine ini_comsaison_h(ngrid)
15 
16  implicit none
17  integer,intent(in) :: ngrid ! number of atmospheric columns
18 
19    allocate(mu0(ngrid))
20    allocate(fract(ngrid))
21 
22  end subroutine ini_comsaison_h
23 
24end module comsaison_h
Note: See TracBrowser for help on using the repository browser.