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

    r1047 r1266  
    5858C
    5959
    60 #include "dimensions.h"
    61 #include "dimphys.h"
    62 !#include "dimradmars.h"
    6360      integer klon,klev,kidia,kfdia
    6461#include "yoegwd.h"
     
    9188
    9289      integer ji,jk,jl,ilevh
    93       REAL ZDZ2 (NDLO2,nlayermx) , ZNORM(NDLO2) , zoro(NDLO2)
    94       REAL ZTAU (NDLO2,nlayermx+1)
     90      REAL ZDZ2 (NDLO2,klev) , ZNORM(NDLO2) , zoro(NDLO2)
     91      REAL ZTAU (NDLO2,klev+1)
    9592C
    9693C-----------------------------------------------------------------------
     
    182179c     write(*,*) 'ptau'
    183180c     write(*,99) ((ji,ilevh,ptau(ji,ilevh),ji=1,NDLO2),
    184 c    .                  ilevh=1,nlayermx+1)
     181c    .                  ilevh=1,klev+1)
    185182 99   FORMAT(i3,i3,f15.5)
    186183
Note: See TracChangeset for help on using the changeset viewer.