source: flexpart.git/src/unc_mod.f90

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

add SPDX-License-Identifier to all .f90 files

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