source: trunk/WRF.COMMON/WRFV2/frame/module_driver_constants.F @ 3547

Last change on this file since 3547 was 11, checked in by aslmd, 14 years ago

spiga@svn-planeto:ajoute le modele meso-echelle martien

File size: 2.1 KB
Line 
1!WRF:DRIVER_LAYER:CONSTANTS
2!
3!  This MODULE contains all of the constants used in the model.  These
4!  are separated by uage within the code.
5
6MODULE module_driver_constants
7
8   !  0. The following tells the rest of the model what data ordering we are
9   !     using
10
11   INTEGER , PARAMETER :: DATA_ORDER_XYZ = 1
12   INTEGER , PARAMETER :: DATA_ORDER_YXZ = 2
13   INTEGER , PARAMETER :: DATA_ORDER_ZXY = 3
14   INTEGER , PARAMETER :: DATA_ORDER_ZYX = 4
15   INTEGER , PARAMETER :: DATA_ORDER_XZY = 5
16   INTEGER , PARAMETER :: DATA_ORDER_YZX = 6
17
18#include <model_data_order.inc>
19
20   !  1. Following are constants for use in defining maximal values for array
21   !     definitions. 
22   !
23
24   !  The maximum number of levels in the model is how deeply the domains may
25   !  be nested.
26
27   INTEGER , PARAMETER :: max_levels      =  20
28
29   !  The maximum number of nests that can depend on a single parent and other way round
30
31   INTEGER , PARAMETER :: max_nests        =  20
32
33   !  The maximum number of parents that a nest can have (simplified assumption -> one only)
34
35   INTEGER , PARAMETER :: max_parents      =  1
36
37   !  The maximum number of domains is how many grids the model will be running.
38
39   INTEGER , PARAMETER :: max_domains     =   ( MAX_DOMAINS_F - 1 ) / 2 + 1
40
41   !  The maximum number of nest move specifications allowed in a namelist
42
43   INTEGER , PARAMETER :: max_moves       =   50
44
45   !  The maximum number of eta levels
46
47   INTEGER , PARAMETER :: max_eta         =   501
48
49   !  2. Following related to driver leve data structures for DM_PARALLEL communications
50
51#ifdef DM_PARALLEL
52   INTEGER , PARAMETER :: max_comms       =   1024
53#else
54   INTEGER , PARAMETER :: max_comms       =   1
55#endif
56
57   !  3. Following is information related to the file I/O.
58
59   !  These are the bounds of the available FORTRAN logical unit numbers for the file I/O.
60   !  Only logical unti numbers within these bounds will be chosen for I/O unit numbers.
61
62   INTEGER , PARAMETER :: min_file_unit = 10
63   INTEGER , PARAMETER :: max_file_unit = 99
64 CONTAINS
65   SUBROUTINE init_module_driver_constants
66   END SUBROUTINE init_module_driver_constants
67 END MODULE module_driver_constants
Note: See TracBrowser for help on using the repository browser.