/[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.1 - (show annotations) (download)
Fri May 12 21:58:05 2006 UTC (17 years, 11 months ago) by ce107
Branch: MAIN
File MIME type: text/plain
Initial version of CG2D benchmark code (serial and parallel) by Chris Hill

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-- Symbolic constants
10 INTEGER MAX_LEN_MBUF
11 PARAMETER ( MAX_LEN_MBUF = 1024 )
12 INTEGER MAX_LEN_FNAM
13 PARAMETER ( MAX_LEN_FNAM = 256 )
14 C SQUEEZE_RIGHT - Flag indicating right blank space removal
15 C from text field.
16 C SQUEEZE_LEFT - Flag indicating left blank space removal
17 C from text field.
18 C SQUEEZE_BOTH - Flag indicating left and right blank
19 C space removal from text field.
20 CHARACTER*(*) SQUEEZE_RIGHT
21 PARAMETER ( SQUEEZE_RIGHT = 'R' )
22 CHARACTER*(*) SQUEEZE_LEFT
23 PARAMETER ( SQUEEZE_LEFT = 'L' )
24 CHARACTER*(*) SQUEEZE_BOTH
25 PARAMETER ( SQUEEZE_BOTH = 'B' )
26
27
28
29 C-- COMMON /EPARAMS_I/ Execution environment public integer variables.
30 C errorMessageUnit - Fortran IO unit for error messages
31 C standardMessageUnit - Fortran IO unit for informational messages
32 C numberOfProcs - Number of processes computing in parallel
33 C myProcId - My own "process" id.
34 C myPx - My X coord on the proc. grid.
35 C myPy - My Y coord on the proc. grid.
36 C myXGlobalLo - My bottom-left (south-west) x-index
37 C global domain. The x-coordinate of this
38 C point in for example m or degrees is *not*
39 C specified here. A model needs to provide a
40 C mechanism for deducing that information if it
41 C is needed.
42 C myYGlobalLo - My bottom-left (south-west) y-index in
43 C global domain. The y-coordinate of this
44 C point in for example m or degrees is *not*
45 C specified here. A model needs to provide a
46 C mechanism for deducing that information if it
47 C is needed.
48 COMMON /EEPARAMS_I/ errorMessageUnit, standardMessageUnit,
49 & numberOfProcs, myProcId,
50 & myPx, myPy, myXGlobalLo, myYGlobalLo
51 INTEGER errorMessageUnit
52 INTEGER myProcId
53 INTEGER myPx
54 INTEGER myPy
55 INTEGER myXGlobalLo
56 INTEGER myYGlobalLo
57 INTEGER numberOfProcs
58 INTEGER standardMessageUnit
59
60 C $Id: $

  ViewVC Help
Powered by ViewVC 1.1.22