/[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.2 - (show annotations) (download)
Fri May 12 22:02:27 2006 UTC (17 years, 11 months ago) by ce107
Branch: MAIN
Changes since 1.1: +8 -0 lines
File MIME type: text/plain
Added fixes to get single as well as double precision versions working
with a redeclaration of "Real" and "_d"; cleanup of errant "real "/"REAL "

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 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 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: $

  ViewVC Help
Powered by ViewVC 1.1.22