Changeset 1773 for trunk


Ignore:
Timestamp:
Aug 27, 2017, 8:51:38 AM (7 years ago)
Author:
aslmd
Message:

LMDZ.MARS setting the stage for maybe fixing nesting in the LMD_MM_MARS 2. deallocate before allocating in phys_state_var_init_mod; no impact on regular runs (useless); important for nesting; c'est peut etre un detail pour vous mais pour moi ca veut dire beaucoup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/phys_state_var_init_mod.F90

    r1621 r1773  
    3434!=======================================================================
    3535
    36       use slope_mod, only: ini_slope_mod
    37       use comsaison_h, only: ini_comsaison_h
    38       use surfdat_h, only: ini_surfdat_h
    39       use comgeomfi_h, only: ini_comgeomfi_h
    40       use comsoil_h, only: ini_comsoil_h
    41       use dimradmars_mod, only: ini_dimradmars_mod
    42       use yomlw_h, only: ini_yomlw_h
    43       use conc_mod, only: ini_conc_mod
    44       use turb_mod, only: ini_turb_mod
     36      use slope_mod, only: ini_slope_mod,end_slope_mod
     37      use comsaison_h, only: ini_comsaison_h,end_comsaison_h
     38      use surfdat_h, only: ini_surfdat_h,end_surfdat_h
     39      use comgeomfi_h, only: ini_comgeomfi_h,end_comgeomfi_h
     40      use comsoil_h, only: ini_comsoil_h,end_comsoil_h
     41      use dimradmars_mod, only: ini_dimradmars_mod,end_dimradmars_mod
     42      use yomlw_h, only: ini_yomlw_h,end_yomlw_h
     43      use conc_mod, only: ini_conc_mod,end_conc_mod
     44      use turb_mod, only: ini_turb_mod,end_turb_mod
    4545      use comcstfi_h, only: pi,rad,cpp,g,r,rcp
    46       use tracer_mod, only: ini_tracer_mod
     46      use tracer_mod, only: ini_tracer_mod,end_tracer_mod
    4747      use time_phylmdz_mod, only: init_time
    4848
     
    5656
    5757      ! set dimension and allocate arrays in tracer_mod
     58      call end_tracer_mod
    5859      call ini_tracer_mod(nq,tname)
    5960
     
    7071
    7172      ! allocate "slope_mod" arrays
     73      call end_slope_mod
    7274      call ini_slope_mod(ngrid)
    7375
    7476      ! allocate "comsaison_h" arrays
     77      call end_comsaison_h
    7578      call ini_comsaison_h(ngrid)
    7679
    7780      ! allocate "surfdat_h" arrays
     81      call end_surfdat_h
    7882      call ini_surfdat_h(ngrid,nq)
    7983
    8084      ! allocate "comgeomfi_h" arrays
     85      call end_comgeomfi_h
    8186      call ini_comgeomfi_h(ngrid)
    8287
    8388      ! allocate "comsoil_h" arrays
     89      call end_comsoil_h
    8490      call ini_comsoil_h(ngrid)
    8591
    8692      ! set some variables in "dimradmars_mod"
     93      call end_dimradmars_mod
    8794      call ini_dimradmars_mod(ngrid,nlayer)
    8895
    8996      ! allocate arrays in "yomlw_h"
     97      call end_yomlw_h
    9098      call ini_yomlw_h(ngrid)
    9199
    92100      ! allocate arrays in "conc_mod" (aeronomars)
     101      call end_conc_mod
    93102      call ini_conc_mod(ngrid,nlayer)
    94103
    95104      ! allocate arrays in "turb_mod"
     105      call end_turb_mod
    96106      call ini_turb_mod(ngrid,nlayer)
    97107
Note: See TracChangeset for help on using the changeset viewer.