/[MITgcm]/MITgcm_contrib/cg2d_bench/EEPARAMS.h
ViewVC logotype

Contents of /MITgcm_contrib/cg2d_bench/EEPARAMS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Fri May 12 22:34:02 2006 UTC (17 years, 11 months ago) by ce107
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
File MIME type: text/plain
Added CVS Id tag

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

  ViewVC Help
Powered by ViewVC 1.1.22