source: flexpart.git/src/unc_mod.f90 @ 3481cc1

10.4.1_peseiGFS_025bugfixes+enhancementsdevrelease-10release-10.4.1scaling-bug
Last change on this file since 3481cc1 was 3481cc1, checked in by Ignacio Pisso <ip@…>, 4 years ago

move license from headers to a different file

  • Property mode set to 100644
File size: 1.5 KB
Line 
1! DJM - 2017-05-09 - added #ifdef USE_MPIINPLACE cpp directive to     *
2! enable declaration of a gridunc0 array if required by MPI code in   *
3! mpi_mod.f90                                                         *
4!                                                                     *
5!**********************************************************************
6
7module unc_mod
8
9  use par_mod, only:dep_prec
10
11  implicit none
12
13  real,allocatable, dimension (:,:,:,:,:,:,:) :: gridunc
14#ifdef USE_MPIINPLACE
15#else
16  ! If MPI_IN_PLACE option is not used in mpi_mod.f90::mpif_tm_reduce_grid(),
17  ! then an aux array is needed for parallel grid reduction
18  real,allocatable, dimension (:,:,:,:,:,:,:) :: gridunc0
19  real,allocatable, dimension (:,:,:,:,:,:,:) :: griduncn0
20#endif
21  real,allocatable, dimension (:,:,:,:,:,:,:) :: griduncn
22  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygridunc
23  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygriduncn
24  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgridunc
25  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgriduncn
26
27! For sum of individual contributions, used for the MPI version
28  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygridunc0
29  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygriduncn0
30  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgridunc0
31  real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgriduncn0
32
33  real,allocatable, dimension (:,:,:,:,:) :: init_cond
34
35end module unc_mod
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG