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/convadj.F

    r161 r1036  
    66     &                   pdqadj)
    77
     8      use tracer_mod, only: noms, ! tracer names
     9     &                      igcm_h2o_vap ! index of water vapor tracer
    810      implicit none
    911
     
    3335#include "comcstfi.h"
    3436#include "callkeys.h"
    35 #include "tracer.h"
     37!#include "tracer.h"
    3638
    3739
     
    7375      INTEGER iq,ico2
    7476      save ico2
    75       REAL zq(ngridmx,nlayermx,nqmx), zq2(ngridmx,nlayermx,nqmx)
    76       REAL zqm(nqmx),zqco2m
     77      REAL zq(ngridmx,nlayermx,nq), zq2(ngridmx,nlayermx,nq)
     78      REAL zqm(nq),zqco2m
    7779      real m_co2, m_noco2, A , B
    7880      save A, B
     
    101103        if (tracer) then
    102104!     Prepare Special treatment if one of the tracers is CO2 gas
    103            do iq=1,nqmx
     105           do iq=1,nq
    104106             if (noms(iq).eq."co2") then
    105107                ico2=iq
Note: See TracChangeset for help on using the changeset viewer.