PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
modd_dimphyexn.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 2022-2023 CNRS, Meteo-France and Universite Paul Sabatier
2!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
3!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4!MNH_LIC for details. version 1.
5!-----------------------------------------------------------------
6! ####################
8! ####################
9!
10!!**** *MODD_DIMPHYEX* - declaration of dimensions for the physics
11!!
12!! PURPOSE
13!! -------
14! Declaration of array dimensions used by the physics
15!
16!!
17!!** IMPLICIT ARGUMENTS
18!! ------------------
19!! None
20!!
21!! REFERENCE
22!! ---------
23!!
24!! AUTHOR
25!! ------
26!! S. Riette, Météo-France
27!!
28!! MODIFICATIONS
29!! -------------
30!! Original January 2022
31!
32!-----------------------------------------------------------------
33!* 0. DECLARATIONS
34! ------------
35!
36IMPLICIT NONE
37!
39 !
40 !On x direction
41 INTEGER :: nit ! Array total dimension
42 INTEGER :: nib ! First inner mass point index
43 INTEGER :: nie ! Last inner mass point index
44 !
45 !On y direction
46 INTEGER :: njt ! Array total dimension
47 INTEGER :: njb ! First inner mass point index
48 INTEGER :: nje ! Last inner mass point index
49 !
50 !On z direction
51 !Ordering can be different depending on the host model
52 INTEGER :: nkl ! Order of the vertical levels
53 ! 1: as for Méso-NH, levels are numbered from ground to space
54 ! -1: as for AROME, levels are numbered from space to ground
55 INTEGER :: nkt ! Array total dimension
56 INTEGER :: nkles ! Number of vertical levels for LES diagnostics
57 INTEGER :: nka ! Near ground array index (is an unphysical level if JPVEXT!=0)
58 INTEGER :: nku ! Uppest atmosphere array index (is an unphysical level if JPVEXT!=0)
59 INTEGER :: nkb ! Near ground physical array index (e.g. equal to 1+JPVEXT if NKL==1)
60 INTEGER :: nke ! Uppest physical atmosphere array index (e.g. equal to 1+JPVEXT if NKL==-1)
61 INTEGER :: nktb ! Smaller index of the physical domain (equals to MIN(NKB, NKE)=1+JPVEXT)
62 INTEGER :: nkte ! Greater index of the physical domain (equals to MAX(NKB, NKE)=NKT-JPVEXT)
63 !Explanations about the different values. To loop on:
64 !* all (including non physical) levels from ground to top of atm: DO JK=NKA, NKU, KKL
65 !* all (including non physical) levels from top of atm to ground: DO JK=NKU, NKA, -KKL
66 !* physical levels only from ground to top of atm: DO JK=NKB, NKE, KKL
67 !* physical levels only from top of atm to ground: DO JK=NKE, NKB, -KKL
68 !* all (including non physical) following the array ordering: DO JK=1, NKT
69 !* physical levels only following the array ordering: DO JK=NKTB, NKTE
70 INTEGER :: nibc ! Computational indices used in DO LOOP
71 INTEGER :: njbc ! = NIB/NJC/NIE/NJE in all schemes
72 INTEGER :: niec ! except in turbulence where external HALO points must be
73 INTEGER :: njec ! included so NIBC=NJBC=1 and NIEC/NJEC=NIT/NJT
74 INTEGER :: nijt ! NIT*NJT for horizontal packing
75 INTEGER :: nijb ! First horizontal inner mass point index
76 INTEGER :: nije ! Last horizontal inner mass point index
77 !
78 INTEGER :: nlesmask ! Number of LES masks
79 INTEGER :: nles_times ! Number of LES time data storage
80!
81END TYPE dimphyex_t
82!
83END MODULE modd_dimphyex
84