Changes in / [1a04fab:b012d4d] in flexpart.git


Ignore:
Location:
src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • src/com_mod.f90

    r62e65c7 r05cf28d  
    373373!ZHG Sep 2015 
    374374!   real :: icloud_stats(0:nxmax-1,0:nymax-1,5,numwfmem)
    375    real :: ctwc(0:nxmax-1,0:nymax-1,numwfmem) ! ESO: =icloud_stats(:,:,4,:)
     375   real :: ctwc(0:nxmax-1,0:nymax-1,numwfmem) ! eso: =icloud_stats(:,:,4,:)
    376376
    377377
  • src/ecmwf_mod.f90

    r62e65c7 r8ed5f11  
    5151  !*********************************************
    5252
    53   integer,parameter :: maxnests=0,nxmaxn=361,nymaxn=181
     53  integer,parameter :: maxnests=1,nxmaxn=361,nymaxn=181
     54!  integer,parameter :: maxnests=1,nxmaxn=86,nymaxn=31
    5455
    5556  ! nxmax,nymax        maximum dimension of wind fields in x and y
  • src/gfs_mod.f90

    r62e65c7 r8ed5f11  
    4949  !*********************************************
    5050
    51   integer,parameter :: maxnests=0,nxmaxn=361,nymaxn=181
     51  integer,parameter :: maxnests=1,nxmaxn=361,nymaxn=181
    5252
    5353  ! nxmax,nymax        maximum dimension of wind fields in x and y
  • src/mpi_mod.f90

    r62e65c7 r341f4b7  
    103103  logical :: lmp_use_reader=.false. ! true if separate readwind process is used
    104104
    105 ! .true. if only using synchronous MPI send/recv (default)
     105! true if only using synchronous MPI send/recv:
    106106! If setting this to .false., numwfmem must be set to 3
    107107!===============================================================================
     
    208208!*********************************************
    209209
    210     if (.not.lmp_sync.and.numwfmem.ne.3) then
    211       if (lroot) then
    212         write(*,FMT='(80("#"))')
    213         write(*,*) '#### mpi_mod::mpif_init> ERROR: ', &
    214              & 'numwfmem must be set to 3 for asyncronous reading ####'
    215         write(*,FMT='(80("#"))')
    216       end if
    217       call MPI_FINALIZE(mp_ierr)
     210    if (.not.lmp_sync.and.numwfmem.ne.3.and.lroot) then
     211      write(*,FMT='(80("#"))')
     212      write(*,*) '#### mpi_mod::mpif_init> ERROR: ', &
     213           & 'numwfmem must be set to 3 for asyncronous reading ####'
     214      write(*,FMT='(80("#"))')
    218215      stop
    219216    else if (lmp_sync.and.numwfmem.ne.2.and.lroot) then
     
    221218      write(*,*) '#### mpi_mod::mpif_init> WARNING: ', &
    222219           & 'numwfmem should be set to 2 for syncronous'
    223       write(*,*) ' reading. Results will still be valid, but unneccesary memory &
    224            &is allocated.'
     220      write(*,*) ' reading. Results will still be valid, but unneccesary '
     221      write(*,*) 'amount of memory is being allocated.'
    225222      write(*,FMT='(80("#"))')
    226223! Force "syncronized" version if all processes will call getfields
  • src/par_mod.f90

    r62e65c7 r05cf28d  
    8989  real,parameter :: rho_water=1000. !ZHG 2015 [kg/m3]
    9090  !ZHG MAR2016
    91   real,parameter :: incloud_ratio=6.2
     91  real,parameter :: incloud_ratio=2.2
    9292
    9393  ! karman                  Karman's constant
     
    186186  !**************************************************
    187187
    188   integer,parameter :: maxpart=20000000
    189   integer,parameter :: maxspec=6
     188  integer,parameter :: maxpart=1000000
     189  integer,parameter :: maxspec=1
    190190  real,parameter :: minmass=0.0001
    191191
  • src/readpaths.f90

    r62e65c7 r5f9d14a  
    8282
    8383  do i=1,maxnests
    84   ! ESO 2016 Added 'end'/'err' in case user forgot '====' at end of file and
    85   ! maxnests > numbnests
    86     read(unitpath,'(a)', end=30, err=30) path(numpath+2*(i-1)+1)
    87     read(unitpath,'(a)', end=30, err=30) path(numpath+2*(i-1)+2)
     84    read(unitpath,'(a)') path(numpath+2*(i-1)+1)
     85    read(unitpath,'(a)') path(numpath+2*(i-1)+2)
    8886    if (path(numpath+2*(i-1)+1)(1:5).eq.'=====') goto 30
    8987    length(numpath+2*(i-1)+1)=index(path(numpath+2*(i-1)+1),' ')-1
  • src/readspecies.f90

    r62e65c7 r05cf28d  
    223223
    224224  if (lroot) then
    225 ! ZHG 2016.04.07 Start of changes
    226     write(*,*) ' '
    227     if (dquer(pos_spec) .gt.0)  write(*,'(a,i3,a,a,a)')       ' SPECIES: ', &
    228          &id_spec,'  ', species(pos_spec),'  (AEROSOL) '
    229     if (dquer(pos_spec) .le.0)  write(*,'(a,i3,a,a,a)')       ' SPECIES: ', &
    230          &id_spec,'  ', species(pos_spec),'  (GAS) '
    231 
    232225! Particles
    233226!**********
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG