Ignore:
Timestamp:
Sep 23, 2013, 9:56:47 AM (11 years ago)
Author:
emillour
Message:

Mars GCM:

  • IMPORTANT CHANGE: Removed all reference/use of ngridmx (dimphys.h) in routines (necessary prerequisite to using parallel dynamics); in most cases this just means adding 'ngrid' as routine argument, and making local saved variables allocatable (and allocated at first call). In the process, had to convert many *.h files to equivalent modules: yomaer.h => yomaer_h.F90 , surfdat.h => surfdat_h.F90 , comsaison.h => comsaison_h.F90 , yomlw.h => yomlw_h.F90 , comdiurn.h => comdiurn_h.F90 , dimradmars.h => dimradmars_mod.F90 , comgeomfi.h => comgeomfi_h.F90, comsoil.h => comsoil_h.F90 , slope.h => slope_mod.F90
  • Also updated EOF routines, everything is now in eofdump_mod.F90
  • Removed unused routine lectfux.F (in dyn3d)

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/writediagsoil.F90

    r410 r1047  
    1212! Modifs: Aug.2010 Ehouarn: enforce outputs to be real*4
    1313
     14use comsoil_h, only: nsoilmx
     15
    1416implicit none
    1517
    1618#include"dimensions.h"
    17 #include"dimphys.h"
     19!#include"dimphys.h"
    1820#include"paramet.h"
    1921#include"control.h"
    20 #include"comsoil.h"
     22!#include"comsoil.h"
    2123#include"netcdf.inc"
    2224
     
    2931integer,intent(in) :: dimpx ! dimension of the variable (3,2 or 0)
    3032real,dimension(ngrid,nsoilmx),intent(in) :: px ! variable
    31 ! Note: nsoilmx is a common parameter set in 'dimphys.h'
     33! Note: nsoilmx is a parameter set in 'comsoil_h'
    3234
    3335! Local variables:
    3436real*4,dimension(iip1,jjp1,nsoilmx) :: data3 ! to store 3D data
    35 ! Note iip1,jjp1 known from paramet.h; nsoilmx known from dimphys.h
     37! Note iip1,jjp1 known from paramet.h; nsoilmx known from comsoil_h
    3638real*4,dimension(iip1,jjp1) :: data2 ! to store 2D data
    3739real*4 :: data0 ! to store 0D data
     
    8082 
    8183  ! Define dimensions and axis attributes
    82   call iniwritesoil(nid)
     84  call iniwritesoil(nid,ngrid)
    8385 
    8486  ! set zitau to -1 to be compatible with zitau incrementation step below
Note: See TracChangeset for help on using the changeset viewer.