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/dyn3d/dynredem.F

    r999 r1036  
    11      SUBROUTINE dynredem0(fichnom,idayref,anneeref,phis,nq)
     2      use infotrac, only: tnom
    23      IMPLICIT NONE
    34c=======================================================================
     
    1718#include "description.h"
    1819#include "serre.h"
    19 #include "advtrac.h"
     20!#include "advtrac.h"
    2021c   Arguments:
    2122c   ----------
     
    963964      SUBROUTINE dynredem1(fichnom,time,
    964965     .                     vcov,ucov,teta,q,nq,masse,ps)
     966      use infotrac, only: nqtot, tnom
    965967      IMPLICIT NONE
    966968c=================================================================
     
    973975#include "comvert.h"
    974976#include "comgeom.h"
    975 #include"advtrac.h"
     977!#include"advtrac.h"
    976978
    977979      INTEGER nq, l
     
    979981      REAL teta(ip1jmp1,llm)                   
    980982      REAL ps(ip1jmp1),masse(ip1jmp1,llm)                   
    981       REAL q(iip1,jjp1,llm,nqmx)
     983      REAL q(iip1,jjp1,llm,nqtot)
    982984      REAL q3d(iip1,jjp1,llm) !temporary variable
    983985      CHARACTER*(*) fichnom
Note: See TracChangeset for help on using the changeset viewer.