Changeset 8a65cb0 in flexpart.git for src/initialize.f90


Ignore:
Timestamp:
Mar 2, 2015, 3:11:55 PM (9 years ago)
Author:
Espen Sollum ATMOS <espen@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
1d207bb
Parents:
60403cd
Message:

Added code, makefile for dev branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/initialize.f90

    re200b7a r8a65cb0  
    6969  use interpol_mod
    7070  use hanna_mod
     71  use random_mod, only: ran3
    7172
    7273  implicit none
     
    7576  integer :: ldt,nrand
    7677  integer(kind=2) :: icbt
    77   real :: zt,dz,dz1,dz2,up,vp,wp,usigold,vsigold,wsigold,ran3
     78  real :: zt,dz,dz1,dz2,up,vp,wp,usigold,vsigold,wsigold
    7879  real(kind=dp) :: xt,yt
    7980  save idummy
     
    155156    vp=rannumb(nrand+1)*sigv
    156157    wp=rannumb(nrand+2)
    157     if (.not.turbswitch) wp=wp*sigw
     158    if (.not.turbswitch) then     ! modified by mc
     159        wp=wp*sigw
     160    else if (cblflag.eq.1) then   ! modified by mc
     161        if(-h/ol.gt.5) then
     162        !if (ol.lt.0.) then
     163        !if (ol.gt.0.) then !by mc : only for test correct is lt.0
     164            call initialize_cbl_vel(idummy,zt,ust,wst,h,sigw,wp,ol)
     165        else
     166            wp=wp*sigw
     167        end if           
     168    end if
    158169
    159170
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG