source: trunk/LMDZ.MARS/libf/phymars/comsaison_h.F90 @ 2156

Last change on this file since 2156 was 1974, checked in by mvals, 6 years ago

Mars GCM:
Integration of the detached dust layer parametrizations (rocket dust storm, slope wind lifting, CW, and dust injection scheme, DB).
Still experimental, default behaviour (rdstorm=.false., dustinjection=0) identical to previous revision.
NB: Updated newstart requires an updated "surface.nc" containing the "hmons" field.
EM+MV

File size: 787 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(:)
[1974]11  real,save,allocatable :: local_time(:) ! local solar time as fraction of day (0,1)
[1047]12
13contains
14
15  subroutine ini_comsaison_h(ngrid)
16 
17  implicit none
18  integer,intent(in) :: ngrid ! number of atmospheric columns
19 
20    allocate(mu0(ngrid))
21    allocate(fract(ngrid))
[1974]22    allocate(local_time(ngrid))
[1047]23 
24  end subroutine ini_comsaison_h
[1770]25
26
27  subroutine end_comsaison_h
28
29  implicit none
30
31    if (allocated(mu0)) deallocate(mu0)
32    if (allocated(fract)) deallocate(fract)
[1974]33    if (allocated(local_time)) deallocate(local_time)
[1770]34
35  end subroutine end_comsaison_h
[1047]36 
37end module comsaison_h
Note: See TracBrowser for help on using the repository browser.