Ignore:
Timestamp:
May 19, 2014, 10:05:08 AM (11 years ago)
Author:
aslmd
Message:

LMDZ.MARS
IMPORTANT CHANGE

  • Remove all reference/use of nlayermx and dimphys.h
  • Made use of automatic arrays whenever arrays are needed with dimension nlayer
  • Remove lots of obsolete reference to dimensions.h
  • Converted iono.h and param_v4.h into corresponding modules

(with embedded subroutine to allocate arrays)
(no arrays allocated if thermosphere not used)

  • Deleted param.h and put contents into module param_v4_h
  • Adapted testphys1d, newstart, etc...
  • Made DATA arrays in param_read to be initialized by subroutine

fill_data_thermos in module param_v4_h

  • Optimized computations in paramfoto_compact (twice less dlog10 calculations)
  • Checked consistency before/after modification in debug mode
  • Checked performance is not impacted (same as before)
File:
1 edited

Legend:

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

    r1226 r1266  
    5353C
    5454C     comcstfi.h
    55 C     dimphys.h
    5655C     yoegwd.h
    5756C
     
    7675C
    7776C
    78 #include "dimensions.h"
    79 #include "dimphys.h"
    80 !#include "dimradmars.h"
    8177      integer klon,klev,kidia
    8278      parameter(kidia=1)
     
    123119      real zconb,zabsv,zzd1,ratio,zust,zvst,zdis,ztemp
    124120C
    125       REAL   ZTAU(NDLO2,nlayermx+1),
    126      *       ZSTAB(NDLO2,nlayermx+1),
    127      *       ZVPH(NDLO2,nlayermx+1),
    128      *       ZRHO(NDLO2,nlayermx+1),
    129      *       ZRI(NDLO2,nlayermx+1),
    130      *       ZpsI(NDLO2,nlayermx+1),
    131      *       Zzdep(NDLO2,nlayermx)
     121      REAL   ZTAU(NDLO2,klev+1),
     122     *       ZSTAB(NDLO2,klev+1),
     123     *       ZVPH(NDLO2,klev+1),
     124     *       ZRHO(NDLO2,klev+1),
     125     *       ZRI(NDLO2,klev+1),
     126     *       ZpsI(NDLO2,klev+1),
     127     *       Zzdep(NDLO2,klev)
    132128      REAL   ZDUDT(NDLO2),
    133129     *       ZDVDT(NDLO2),
Note: See TracChangeset for help on using the changeset viewer.