source: flexpart.git/src/unc_mod.f90 @ 11d86e7

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

move license from headers to a different file

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[6ecb30a]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!**********************************************************************
[e200b7a]6
7module unc_mod
8
[6a678e3]9  use par_mod, only:dep_prec
[fdc0f03]10
[e200b7a]11  implicit none
12
[4c64400]13  real,allocatable, dimension (:,:,:,:,:,:,:) :: gridunc
[6ecb30a]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
[0ecc1fe]19  real,allocatable, dimension (:,:,:,:,:,:,:) :: griduncn0
[6ecb30a]20#endif
[e200b7a]21  real,allocatable, dimension (:,:,:,:,:,:,:) :: griduncn
[6a678e3]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
[e200b7a]26
[8a65cb0]27! For sum of individual contributions, used for the MPI version
[6a678e3]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
[8a65cb0]32
[e200b7a]33  real,allocatable, dimension (:,:,:,:,:) :: init_cond
34
35end module unc_mod
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG