Changeset 4c64400 in flexpart.git for src/FLEXPART_MPI.f90


Ignore:
Timestamp:
Nov 8, 2016, 4:42:27 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:
c8fc724
Parents:
16b61a5
Message:

Bugfix for double precision dry deposition calculation. Added (hardcoded) option to not use output kernel. Version/date string updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FLEXPART_MPI.f90

    r16b61a5 r4c64400  
    6363  ! Initialize arrays in com_mod
    6464  !*****************************
    65   if (.not.lmpreader) call com_mod_allocate_part(maxpart_mpi)
     65
     66  if(.not.(lmpreader.and.lmp_use_reader)) call com_mod_allocate_part(maxpart_mpi)
     67
    6668
    6769  ! Generate a large number of random numbers
     
    7981  flexversion_major = '10' ! Major version number, also used for species file names
    8082!  flexversion='Ver. 10 Beta MPI (2015-05-01)'
    81   flexversion='Ver. '//trim(flexversion_major)//' Beta MPI (2015-05-01)'
     83  flexversion='Ver. '//trim(flexversion_major)//'.1beta MPI (2016-11-02)'
    8284  verbosity=0
    8385
     
    306308  endif
    307309
    308   if (.not.lmpreader) then
     310  if (.not.(lmpreader.and.lmp_use_reader)) then
    309311    do j=1, size(itra1) ! maxpart_mpi
    310312      itra1(j)=-999999999
     
    320322    endif
    321323    ! readwind process skips this step
    322     if (lmp_use_reader.and..not.lmpreader) call readpartpositions
     324    if (.not.(lmpreader.and.lmp_use_reader)) call readpartpositions
    323325  else
    324326    if (verbosity.gt.0 .and. lroot) then
     
    427429  end do
    428430
     431  ! Inform whether output kernel is used or not
     432  !*********************************************
     433
     434  if (lroot) then
     435    if (lnokernel) then
     436      write(*,*) "Concentrations are calculated without using kernel"
     437    else
     438      write(*,*) "Concentrations are calculated using kernel"
     439    end if
     440  end if
    429441
    430442! Calculate particle trajectories
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG