Changeset 6ecb30a in flexpart.git for src/calcpar_nests.f90


Ignore:
Timestamp:
Aug 17, 2017, 4:39:17 PM (7 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
5b34509
Parents:
61e07ba
Message:

Merged changes from CTBTO project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/calcpar_nests.f90

    rdb712a8 r6ecb30a  
    2020!**********************************************************************
    2121
    22 subroutine calcpar_nests(n,uuhn,vvhn,pvhn)
     22subroutine calcpar_nests(n,uuhn,vvhn,pvhn,metdata_format)
    2323  !                         i  i    i    o
    2424  !*****************************************************************************
     
    3939  !                                                                            *
    4040  !*****************************************************************************
    41   !  Changes, Bernd C. Krueger, Feb. 2001:
    42   !   Variables tth and qvh (on eta coordinates) in common block
     41  !  Changes, Bernd C. Krueger, Feb. 2001:                                     *
     42  !   Variables tth and qvh (on eta coordinates) in common block               *
     43  !                                                                            *
     44  !   Unified ECMWF and GFS builds                                             *
     45  !   Marian Harustak, 12.5.2017                                               *
     46  !     - Added passing of metdata_format as it was needed by called routines  *
    4347  !*****************************************************************************
    4448  !                                                                            *
    4549  ! Variables:                                                                 *
    4650  ! n                  temporal index for meteorological fields (1 to 3)       *
     51  ! metdata_format     format of metdata (ecmwf/gfs)                           *
    4752  !                                                                            *
    4853  ! Constants:                                                                 *
     
    6065  implicit none
    6166
     67  integer :: metdata_format
    6268  integer :: n,ix,jy,i,l,kz,lz,kzmin
    63   real :: ttlev(nuvzmax),qvlev(nuvzmax),obukhov,scalev,ol,hmixplus
     69  real :: ttlev(nuvzmax),qvlev(nuvzmax),obukhov,scalev,ol,hmixplus,dummyakzllev
    6470  real :: ulev(nuvzmax),vlev(nuvzmax),ew,rh,vd(maxspec),subsceff,ylat
    6571  real :: altmin,tvold,pold,zold,pint,tv,zlev(nuvzmax)
     
    110116      ol=obukhov(psn(ix,jy,1,n,l),tt2n(ix,jy,1,n,l), &
    111117           td2n(ix,jy,1,n,l),tthn(ix,jy,2,n,l),ustarn(ix,jy,1,n,l), &
    112            sshfn(ix,jy,1,n,l),akm,bkm)
     118           sshfn(ix,jy,1,n,l),akm,bkm,dummyakzllev,metdata_format)
    113119      if (ol.ne.0.) then
    114120        olin(ix,jy,1,n,l)=1./ol
     
    131137           qvlev,ulev,vlev,nuvz,akz,bkz,sshfn(ix,jy,1,n,l), &
    132138           tt2n(ix,jy,1,n,l),td2n(ix,jy,1,n,l),hmixn(ix,jy,1,n,l), &
    133            wstarn(ix,jy,1,n,l),hmixplus)
     139           wstarn(ix,jy,1,n,l),hmixplus,metdata_format)
    134140
    135141      if(lsubgrid.eq.1) then
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG