Ignore:
Timestamp:
Apr 22, 2015, 6:28:50 PM (10 years ago)
Author:
ymipsl
Message:

Removed all iim et jjm depedency. Replaced by nbp_lon and nbp_lat.
Supress gr_fi_ecrit, replaced by grid1dTo2d_glo

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/phys_output_write_mod.F90

    r3817 r3819  
    2525
    2626    USE dimphy, only: klon, klev, klevp1, nslay
     27    USE mod_grid_phy_lmdz, ONLY : nbp_lon, nbp_lat
    2728    !USE control_phy_mod, only: day_step, iphysiq
    2829    USE inifis_mod, only: day_step, iphysiq
     
    258259    INCLUDE "compbl.h"
    259260    INCLUDE "YOMCST.h"
    260     INCLUDE "dimensions.h"
    261261
    262262    ! Input
     
    273273    REAL, DIMENSION(klon, klev+1) :: paprs
    274274    REAL, DIMENSION(klon,klev,nqtot) :: qx, d_qx
    275     REAL, DIMENSION(klon, llm) :: zmasse
     275    REAL, DIMENSION(klon, klev) :: zmasse
    276276    LOGICAL :: flag_aerosol_strat
    277277    INTEGER :: flag_aerosol
     
    280280
    281281    ! Local
    282     INTEGER, PARAMETER :: jjmp1=jjm+1-1/jjm
    283282    INTEGER :: itau_w
    284283    INTEGER :: i, iinit, iinitend=1, iff, iq, nsrf, k, ll, naero
     
    287286    REAL, DIMENSION (klon,klev+1) :: zx_tmp_fi3d1
    288287    CHARACTER (LEN=4)              :: bb2
    289     INTEGER, DIMENSION(iim*jjmp1)  :: ndex2d
    290     INTEGER, DIMENSION(iim*jjmp1*klev) :: ndex3d
     288    INTEGER, DIMENSION(nbp_lon*nbp_lat)  :: ndex2d
     289    INTEGER, DIMENSION(nbp_lon*nbp_lat*klev) :: ndex3d
    291290    REAL, PARAMETER :: dobson_u = 2.1415e-05 ! Dobson unit, in kg m-2
    292291    REAL, PARAMETER :: missing_val=nf90_fill_real
Note: See TracChangeset for help on using the changeset viewer.