Ignore:
Timestamp:
Jun 25, 2015, 5:25:50 PM (9 years ago)
Author:
Ehouarn Millour
Message:

More on physics/dynamics separation: make a vertical_layers_mod module to contain information on the vertical discretization. This module should be used from within the physics (instead of including comvert.h from dynamics).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/rrtm/suphec.F90

    r2043 r2315  
    8787USE YOM_PHYS_GRID ,ONLY : PHYS_GRID
    8888USE YOMCT0  , ONLY  : LSCMEC   ,LROUGH   ,REXTZ0M  ,REXTZ0H
     89USE vertical_layers_mod, ONLY: ap,bp
    8990
    9091IMPLICIT NONE
     
    115116#include "suwcou.intfb.h"
    116117#include "dimensions.h"
    117 #include "comvert.h"
    118118
    119119!     ------------------------------------------------------------------
     
    168168!ALLOCATE(VBH    (0:MAX(JPMXLE,NFLEVG)))  from suallo.F90
    169169!!
    170 !! ATTENTION, il faut que ~dyn3d/comvert.h soit conforme au Fortran 90 !!
    171 !!
    172170ALLOCATE(VAH    (0:NFLEVG))  ! Ajout ALLOCATE MPL 200509
    173171ALLOCATE(VBH    (0:NFLEVG))
     
    177175VP00=101325.     !!!!! A REVOIR (MPL)
    178176ZPRES(NFLEVG)=VP00
    179 ! on recupere ap et bp de dyn3d (comvert.h) MPL 19.05.09
     177! on recupere ap et bp de dyn3d (vertical_layers_mod) MPL 19.05.09
    180178! Attention, VAH et VBH sont inverses, comme les niveaux
    181179! plev(l)=PAPRS(klon,nlayer+1-l) de 1 a nlayer (apllmd.F)
Note: See TracChangeset for help on using the changeset viewer.