source: CONFIG/publications/ICOLMDZORINCA_CO2_Transport_GMD_2023/INCA/src/INCA_MOD/drydep_arrays_mod.F90 @ 6610

Last change on this file since 6610 was 6610, checked in by acosce, 9 months ago

INCA used for ICOLMDZORINCA_CO2_Transport_GMD_2023

File size: 5.1 KB
Line 
1!$Id: drydep_arrays_mod.F90 104 2008-12-23 10:28:51Z acosce $
2!! =========================================================================
3!! INCA - INteraction with Chemistry and Aerosols
4!!
5!! Copyright Laboratoire des Sciences du Climat et de l'Environnement (LSCE)
6!!           Unite mixte CEA-CNRS-UVSQ
7!!
8!! Contributors to this INCA subroutine:
9!!
10!! Peter Hess, NCAR
11!! Jean-Francois Lamarque, NCAR
12!!
13!!
14!! Anne Cozic, LSCE, anne.cozic@cea.fr
15!! Yann Meurdesoif, LSCE, yann.meurdesoif@cea.fr
16!!
17!! This software is a computer program whose purpose is to simulate the
18!! atmospheric gas phase and aerosol composition. The model is designed to be
19!! used within a transport model or a general circulation model. This version
20!! of INCA was designed to be coupled to the LMDz GCM. LMDz-INCA accounts
21!! for emissions, transport (resolved and sub-grid scale), photochemical
22!! transformations, and scavenging (dry deposition and washout) of chemical
23!! species and aerosols interactively in the GCM. Several versions of the INCA
24!! model are currently used depending on the envisaged applications with the
25!! chemistry-climate model.
26!!
27!! This software is governed by the CeCILL  license under French law and
28!! abiding by the rules of distribution of free software.  You can  use,
29!! modify and/ or redistribute the software under the terms of the CeCILL
30!! license as circulated by CEA, CNRS and INRIA at the following URL
31!! "http://www.cecill.info".
32!!
33!! As a counterpart to the access to the source code and  rights to copy,
34!! modify and redistribute granted by the license, users are provided only
35!! with a limited warranty  and the software's author,  the holder of the
36!! economic rights,  and the successive licensors  have only  limited
37!! liability.
38!!
39!! In this respect, the user's attention is drawn to the risks associated
40!! with loading,  using,  modifying and/or developing or reproducing the
41!! software by the user in light of its specific status of free software,
42!! that may mean  that it is complicated to manipulate,  and  that  also
43!! therefore means  that it is reserved for developers  and  experienced
44!! professionals having in-depth computer knowledge. Users are therefore
45!! encouraged to load and test the software's suitability as regards their
46!! requirements in conditions enabling the security of their systems and/or
47!! data to be ensured and,  more generally, to use and operate it in the
48!! same conditions as regards security.
49!!
50!! The fact that you are presently reading this means that you have had
51!! knowledge of the CeCILL license and that you accept its terms.
52!! =========================================================================
53#include <inca_define.h>
54
55
56
57module DRYDEP_ARRAYS
58  !
59  ! number of species (defined from namelist) and chemical data
60  !
61  integer                                 , SAVE :: n_species
62  character*20, allocatable, dimension(:) , SAVE :: species_name
63  real, allocatable, dimension(:)         , SAVE :: molecular_weight
64  real, allocatable, dimension(:)         , SAVE :: foxd,drat
65  real, allocatable, dimension(:,:,:)     , SAVE :: heff
66!$OMP THREADPRIVATE(n_species)
67!$OMP THREADPRIVATE(species_name)
68!$OMP THREADPRIVATE(molecular_weight,foxd,drat,heff)
69
70  !     Cgaf
71  !     Effective Henry's Law constants wet scavenging
72  !        are calculated now
73  real, allocatable, dimension(:,:,:)     , SAVE :: heff_3D
74!$OMP THREADPRIVATE(heff_3D)
75
76  !
77  ! meteorological data
78  !
79  integer                             , SAVE :: nlon,nlat,nlev
80!$OMP THREADPRIVATE(nlon,nlat,nlev)
81  real, allocatable, dimension(:)     , SAVE :: lat,lon,lat_edge,lon_edge
82  real, allocatable, dimension(:,:)   , SAVE :: wind_speed,air_temp,sfc_temp,pressure_sfc
83  real, allocatable, dimension(:,:)   , SAVE :: spec_hum,snow,rain,solar_flux,pressure_10m
84  real, allocatable, dimension(:,:)   , SAVE :: wk2d,wind_10m
85  real, allocatable, dimension(:,:,:) , SAVE :: dep_vel
86  real, allocatable, dimension(:,:,:) , SAVE :: dep_vel_avg
87!$OMP THREADPRIVATE(lat,lon,lat_edge,lon_edge)
88!$OMP THREADPRIVATE(wind_speed,air_temp,sfc_temp,pressure_sfc)
89!$OMP THREADPRIVATE(spec_hum,snow,rain,solar_flux,pressure_10m)
90!$OMP THREADPRIVATE(wk2d,wind_10m)
91!$OMP THREADPRIVATE(dep_vel)
92!$OMP THREADPRIVATE(dep_vel_avg)
93  !     Cgaf
94  !     3-D temperature field
95  !        used in scavenging routines
96  real, allocatable, dimension(:,:)   , SAVE :: temp3D
97!$OMP THREADPRIVATE(temp3D)
98
99  !
100  ! land use on met resolution
101  !
102  real, allocatable, dimension(:,:,:) , SAVE :: fraction_landuse
103!$OMP THREADPRIVATE(fraction_landuse)
104  !
105  ! land use vegetation map
106  !
107  integer, parameter :: nlon_veg = 360
108  integer, parameter :: nlat_veg = 180
109  integer, dimension(nlon_veg,nlat_veg) , SAVE :: landuse_map
110!$OMP THREADPRIVATE(landuse_map)
111  real, dimension(nlat_veg)   , SAVE :: lat_veg
112  real, dimension(nlon_veg)   , SAVE :: lon_veg
113  real, dimension(nlat_veg+1) , SAVE :: lat_veg_edge
114  real, dimension(nlon_veg+1) , SAVE :: lon_veg_edge
115  character*72, SAVE :: landuse_map_file = 'Vegetation_map/defries_1x1.ascii'
116!$OMP THREADPRIVATE(lat_veg, lon_veg,lat_veg_edge,lon_veg_edge)
117!$OMP THREADPRIVATE(landuse_map_file)
118
119end module DRYDEP_ARRAYS
Note: See TracBrowser for help on using the repository browser.