Changeset 6ecb30a in flexpart.git for src/unc_mod.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/unc_mod.f90

    r4c64400 r6ecb30a  
    1919! along with FLEXPART.  If not, see <http://www.gnu.org/licenses/>.   *
    2020!**********************************************************************
     21!                                                                     *
     22! DJM - 2017-05-09 - added #ifdef USE_MPIINPLACE cpp directive to     *
     23! enable declaration of a gridunc0 array if required by MPI code in   *
     24! mpi_mod.f90                                                         *
     25!                                                                     *
     26!**********************************************************************
    2127
    2228module unc_mod
     
    2733
    2834  real,allocatable, dimension (:,:,:,:,:,:,:) :: gridunc
     35#ifdef USE_MPIINPLACE
     36#else
     37  ! If MPI_IN_PLACE option is not used in mpi_mod.f90::mpif_tm_reduce_grid(),
     38  ! then an aux array is needed for parallel grid reduction
     39  real,allocatable, dimension (:,:,:,:,:,:,:) :: gridunc0
     40#endif
    2941  real,allocatable, dimension (:,:,:,:,:,:,:) :: griduncn
    3042  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygridunc
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG