[e200b7a] | 1 | !********************************************************************** |
---|
| 2 | ! Copyright 1998,1999,2000,2001,2002,2005,2007,2008,2009,2010 * |
---|
| 3 | ! Andreas Stohl, Petra Seibert, A. Frank, Gerhard Wotawa, * |
---|
| 4 | ! Caroline Forster, Sabine Eckhardt, John Burkhart, Harald Sodemann * |
---|
| 5 | ! * |
---|
| 6 | ! This file is part of FLEXPART. * |
---|
| 7 | ! * |
---|
| 8 | ! FLEXPART is free software: you can redistribute it and/or modify * |
---|
| 9 | ! it under the terms of the GNU General Public License as published by* |
---|
| 10 | ! the Free Software Foundation, either version 3 of the License, or * |
---|
| 11 | ! (at your option) any later version. * |
---|
| 12 | ! * |
---|
| 13 | ! FLEXPART is distributed in the hope that it will be useful, * |
---|
| 14 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of * |
---|
| 15 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
---|
| 16 | ! GNU General Public License for more details. * |
---|
| 17 | ! * |
---|
| 18 | ! You should have received a copy of the GNU General Public License * |
---|
| 19 | ! along with FLEXPART. If not, see <http://www.gnu.org/licenses/>. * |
---|
| 20 | !********************************************************************** |
---|
[6ecb30a] | 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 | !********************************************************************** |
---|
[e200b7a] | 27 | |
---|
| 28 | module unc_mod |
---|
| 29 | |
---|
[6a678e3] | 30 | use par_mod, only:dep_prec |
---|
[fdc0f03] | 31 | |
---|
[e200b7a] | 32 | implicit none |
---|
| 33 | |
---|
[4c64400] | 34 | real,allocatable, dimension (:,:,:,:,:,:,:) :: gridunc |
---|
[6ecb30a] | 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 |
---|
[e200b7a] | 41 | real,allocatable, dimension (:,:,:,:,:,:,:) :: griduncn |
---|
[6a678e3] | 42 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygridunc |
---|
| 43 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygriduncn |
---|
| 44 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgridunc |
---|
| 45 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgriduncn |
---|
[e200b7a] | 46 | |
---|
[8a65cb0] | 47 | ! For sum of individual contributions, used for the MPI version |
---|
[6a678e3] | 48 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygridunc0 |
---|
| 49 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: drygriduncn0 |
---|
| 50 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgridunc0 |
---|
| 51 | real(dep_prec),allocatable, dimension (:,:,:,:,:,:) :: wetgriduncn0 |
---|
[8a65cb0] | 52 | |
---|
[e200b7a] | 53 | real,allocatable, dimension (:,:,:,:,:) :: init_cond |
---|
| 54 | |
---|
| 55 | end module unc_mod |
---|