Changes in src/unc_mod.f90 [4c64400:6ecb30a] in flexpart.git


Ignore:
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