1 |
ce107 |
1.1 |
C /==========================================================\ |
2 |
|
|
C | EEPARAMS.h | |
3 |
|
|
C |==========================================================| |
4 |
|
|
C | Parameters for "execution environemnt". These are used | |
5 |
|
|
C | by both the particular numerical model and the "execution| |
6 |
|
|
C | environment" support routines. | |
7 |
|
|
C \==========================================================/ |
8 |
|
|
|
9 |
ce107 |
1.2 |
C-- precision to use |
10 |
|
|
#ifndef USE_SINGLE_PRECISION |
11 |
|
|
#define _d D |
12 |
|
|
#define Real REAL*8 |
13 |
|
|
#else |
14 |
|
|
#define _d E |
15 |
|
|
#define Real REAL*4 |
16 |
|
|
#endif |
17 |
ce107 |
1.1 |
C-- Symbolic constants |
18 |
|
|
INTEGER MAX_LEN_MBUF |
19 |
|
|
PARAMETER ( MAX_LEN_MBUF = 1024 ) |
20 |
|
|
INTEGER MAX_LEN_FNAM |
21 |
|
|
PARAMETER ( MAX_LEN_FNAM = 256 ) |
22 |
|
|
C SQUEEZE_RIGHT - Flag indicating right blank space removal |
23 |
|
|
C from text field. |
24 |
|
|
C SQUEEZE_LEFT - Flag indicating left blank space removal |
25 |
|
|
C from text field. |
26 |
|
|
C SQUEEZE_BOTH - Flag indicating left and right blank |
27 |
|
|
C space removal from text field. |
28 |
|
|
CHARACTER*(*) SQUEEZE_RIGHT |
29 |
|
|
PARAMETER ( SQUEEZE_RIGHT = 'R' ) |
30 |
|
|
CHARACTER*(*) SQUEEZE_LEFT |
31 |
|
|
PARAMETER ( SQUEEZE_LEFT = 'L' ) |
32 |
|
|
CHARACTER*(*) SQUEEZE_BOTH |
33 |
|
|
PARAMETER ( SQUEEZE_BOTH = 'B' ) |
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
C-- COMMON /EPARAMS_I/ Execution environment public integer variables. |
38 |
|
|
C errorMessageUnit - Fortran IO unit for error messages |
39 |
|
|
C standardMessageUnit - Fortran IO unit for informational messages |
40 |
|
|
C numberOfProcs - Number of processes computing in parallel |
41 |
|
|
C myProcId - My own "process" id. |
42 |
|
|
C myPx - My X coord on the proc. grid. |
43 |
|
|
C myPy - My Y coord on the proc. grid. |
44 |
|
|
C myXGlobalLo - My bottom-left (south-west) x-index |
45 |
|
|
C global domain. The x-coordinate of this |
46 |
|
|
C point in for example m or degrees is *not* |
47 |
|
|
C specified here. A model needs to provide a |
48 |
|
|
C mechanism for deducing that information if it |
49 |
|
|
C is needed. |
50 |
|
|
C myYGlobalLo - My bottom-left (south-west) y-index in |
51 |
|
|
C global domain. The y-coordinate of this |
52 |
|
|
C point in for example m or degrees is *not* |
53 |
|
|
C specified here. A model needs to provide a |
54 |
|
|
C mechanism for deducing that information if it |
55 |
|
|
C is needed. |
56 |
|
|
COMMON /EEPARAMS_I/ errorMessageUnit, standardMessageUnit, |
57 |
|
|
& numberOfProcs, myProcId, |
58 |
|
|
& myPx, myPy, myXGlobalLo, myYGlobalLo |
59 |
|
|
INTEGER errorMessageUnit |
60 |
|
|
INTEGER myProcId |
61 |
|
|
INTEGER myPx |
62 |
|
|
INTEGER myPy |
63 |
|
|
INTEGER myXGlobalLo |
64 |
|
|
INTEGER myYGlobalLo |
65 |
|
|
INTEGER numberOfProcs |
66 |
|
|
INTEGER standardMessageUnit |
67 |
|
|
|
68 |
|
|
C $Id: $ |