Ignore:
Timestamp:
Dec 14, 2015, 11:43:09 AM (9 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2298:2396 into testing branch

Location:
LMDZ5/branches/testing
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/rrtm/aeropt_6bands_rrtm.F90

    r2258 r2408  
    2222
    2323  INCLUDE "YOMCST.h"
    24   INCLUDE "iniprint.h"
    2524  INCLUDE "clesphys.h"
    2625
  • LMDZ5/branches/testing/libf/phylmd/rrtm/readaerosol_optic_rrtm.F90

    r2187 r2408  
    288288  ! Calculate the total mass of all soluble aersosols
    289289  ! to be revisited for AR6
    290   mass_solu_aero(:,:)    = sulfacc(:,:)    + bcsol(:,:)    + pomsol(:,:)   + nitracc(:,:)   ! + &
    291   !                           sscoarse(:,:)    + ssacu(:,:)    + sssupco(:,:)
    292   mass_solu_aero_pi(:,:) = sulfacc_pi(:,:) + bcsol_pi(:,:) + pomsol_pi(:,:) + nitracc_pi(:,:) ! + &
    293   !                           sscoarse_pi(:,:) + ssacu_pi(:,:) + sssupco_pi(:,:)
     290  mass_solu_aero(:,:)    = sulfacc(:,:)    + bcsol(:,:)    + pomsol(:,:)   + nitracc(:,:) + ssacu(:,:)
     291  mass_solu_aero_pi(:,:) = sulfacc_pi(:,:) + bcsol_pi(:,:) + pomsol_pi(:,:) + nitracc_pi(:,:) + ssacu_pi(:,:)
    294292
    295293  !****************************************************************************************
     
    303301  END DO
    304302
     303!--new aerosol properties
    305304  ! aeropt_6bands for rrtm
    306305  CALL aeropt_6bands_rrtm( &
  • LMDZ5/branches/testing/libf/phylmd/rrtm/readaerosolstrato_rrtm.F90

    r2258 r2408  
    99
    1010    USE phys_cal_mod, ONLY : mth_cur
    11     USE mod_grid_phy_lmdz
     11    USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, klon_glo, grid2dTo1d_glo
    1212    USE mod_phys_lmdz_mpi_data, ONLY :  is_mpi_root
    1313    USE mod_phys_lmdz_para
     
    2121
    2222    include "YOMCST.h"
    23     include "dimensions.h"
    2423
    2524! Variable input
     
    103102    n_lat = size(latitude)
    104103    print *, 'LAT aerosol strato=', n_lat, latitude
    105     IF (n_lat.NE.jjm+1) THEN
    106        print *,'Le nombre de lat n est pas egal a jjm+1'
     104    IF (n_lat.NE.nbp_lat) THEN
     105       print *,'Le nombre de lat n est pas egal a nbp_lat'
    107106       STOP
    108107    ENDIF
     
    112111    n_lon = size(longitude)
    113112    print *, 'LON aerosol strato=', n_lon, longitude
    114     IF (n_lon.NE.iim) THEN
    115        print *,'Le nombre de lon n est pas egal a iim'
     113    IF (n_lon.NE.nbp_lon) THEN
     114       print *,'Le nombre de lon n est pas egal a nbp_lon'
    116115       STOP
    117116    ENDIF
  • LMDZ5/branches/testing/libf/phylmd/rrtm/rrtm_rtrn1a_140gp.F90

    r2160 r2408  
    496496!    Z_FACCMB2D(I_LEV-1) = Z_FACCLD1D(I_LEV-1) * Z_FACCLR2D(I_LEV) *&
    497497!     & (1.0_JPRB - Z_CLDFRAC(I_LEV+1)) 
    498     if (istcldd(i_lev).ne.1) then
     498    if (istcldd(i_lev).ne.1.and.i_lev.ne.0) then
    499499       z_faccmb1d(i_lev-1) = max(0.,min(z_cldfrac(i_lev+1)-z_cldfrac(i_lev), &
    500500                            z_cldfrac(i_lev-1)-z_cldfrac(i_lev)))
  • LMDZ5/branches/testing/libf/phylmd/rrtm/suphec.F90

    r2056 r2408  
    8787USE YOM_PHYS_GRID ,ONLY : PHYS_GRID
    8888USE YOMCT0  , ONLY  : LSCMEC   ,LROUGH   ,REXTZ0M  ,REXTZ0H
     89USE vertical_layers_mod, ONLY: ap,bp
    8990
    9091IMPLICIT NONE
     
    114115#include "suvdfs.intfb.h"
    115116#include "suwcou.intfb.h"
    116 #include "dimensions.h"
    117 #include "comvert.h"
    118117
    119118!     ------------------------------------------------------------------
     
    168167!ALLOCATE(VBH    (0:MAX(JPMXLE,NFLEVG)))  from suallo.F90
    169168!!
    170 !! ATTENTION, il faut que ~dyn3d/comvert.h soit conforme au Fortran 90 !!
    171 !!
    172169ALLOCATE(VAH    (0:NFLEVG))  ! Ajout ALLOCATE MPL 200509
    173170ALLOCATE(VBH    (0:NFLEVG))
     
    177174VP00=101325.     !!!!! A REVOIR (MPL)
    178175ZPRES(NFLEVG)=VP00
    179 ! on recupere ap et bp de dyn3d (comvert.h) MPL 19.05.09
     176! on recupere ap et bp de dyn3d (vertical_layers_mod) MPL 19.05.09
    180177! Attention, VAH et VBH sont inverses, comme les niveaux
    181178! plev(l)=PAPRS(klon,nlayer+1-l) de 1 a nlayer (apllmd.F)
Note: See TracChangeset for help on using the changeset viewer.