Ignore:
Timestamp:
Sep 11, 2013, 2:34:44 PM (11 years ago)
Author:
emillour
Message:

Mars GCM: (a first step towards using parallel dynamics)

  • IMPORTANT CHANGE: Implemented dynamic tracers. It is no longer necessary to compile the model with the '-t #' option, number of tracers is simply read from tracer.def file (as before). Adapted makegcm_* scripts (and co.) accordingly. Technical aspects of the switch to dynamic tracers are:
    • advtrac.h (in dyn3d) removed and replaced by module infotrac.F
    • tracer.h (in phymars) removed and replaced by module tracer_mod.F90 (which contains nqmx, the number of tracers, etc. and can be used anywhere in the physics).
  • Included some side cleanups: removed unused files (in dyn3d) anldoppler2.F, anl_mcdstats.F and anl_stats-diag.F, and all the unecessary dimensions.* files in grid/dimension.
  • Checked that changes are clean and that GCM yields identical results (in debug mode) to previous svn version.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/simpleclouds.F

    r740 r1036  
    44     &             nq,tau,rice)
    55      USE updaterad
     6      use tracer_mod, only: igcm_h2o_vap, igcm_h2o_ice
    67      implicit none
    78c------------------------------------------------------------------
     
    3233#include "comcstfi.h"
    3334#include "callkeys.h"
    34 #include "tracer.h"
     35!#include "tracer.h"
    3536#include "comgeomfi.h"
    3637#include "dimradmars.h"
     
    7374      INTEGER ig,l
    7475
    75       REAL zq(ngridmx,nlayermx,nqmx)  ! local value of tracers
    76       REAL zq0(ngridmx,nlayermx,nqmx) ! local initial value of tracers
     76      REAL zq(ngridmx,nlayermx,nq  ! local value of tracers
     77      REAL zq0(ngridmx,nlayermx,nq ! local initial value of tracers
    7778      REAL zt(ngridmx,nlayermx)       ! local value of temperature
    7879      REAL zqsat(ngridmx,nlayermx)    ! saturation
     
    9192c    -----------------
    9293
    93 c    On "update" la valeur de q(nqmx) (water vapor) et temperature.
     94c    On "update" la valeur de q(nq) (water vapor) et temperature.
    9495c    On effectue qqes calculs preliminaires sur les couches :
    9596
Note: See TracChangeset for help on using the changeset viewer.