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

    r1226 r1266  
    5151C
    5252
    53 #include "dimensions.h"
    54 #include "dimphys.h"
    55 !#include "dimradmars.h"
    5653      integer klon,klev,kidia,kfdia
    5754
     
    8380C
    8481C
    85       LOGICAL LL1(NDLO2,nlayermx+1)
     82      LOGICAL LL1(NDLO2,klev+1)
    8683      integer kknu(NDLO2),kknu2(NDLO2),kknub(NDLO2),kknul(NDLO2),
    8784     *        kentp(NDLO2),ncount(NDLO2) 
    8885C
    89       REAL ZHCRIT(NDLO2,nlayermx),ZNCRIT(NDLO2,nlayermx),
    90      *     ZVPF(NDLO2,nlayermx), ZDP(NDLO2,nlayermx)
     86      REAL ZHCRIT(NDLO2,klev),ZNCRIT(NDLO2,klev),
     87     *     ZVPF(NDLO2,klev), ZDP(NDLO2,klev)
    9188      REAL ZNORM(NDLO2),zpsi(NDLO2),zb(NDLO2),zc(NDLO2),
    9289     *      zulow(NDLO2),zvlow(NDLO2),znup(NDLO2),znum(NDLO2)
Note: See TracChangeset for help on using the changeset viewer.