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

Annotation of /MITgcm_contrib/cg2d_bench/SIZE.h

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


Revision 1.1 - (hide 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 ce107 1.1 C
2     C /==========================================================\
3     C | SIZE.h Declare size of underlying computational grid. |
4     C |==========================================================|
5     C | The design here support a three-dimensional model grid |
6     C | with indices I,J and K. The three-dimensional domain |
7     C | is comprised of nPx*nSx blocks of size sNx along one axis|
8     C | nPy*nSy blocks of size sNy along another axis and one |
9     C | block of size Nz along the final axis. |
10     C | Blocks have overlap regions of size OLx and OLy along the|
11     C | dimensions that are subdivided. |
12     C \==========================================================/
13     C Voodoo numbers controlling data layout.
14     C sNx - No. X points in sub-grid.
15     C sNy - No. Y points in sub-grid.
16     C OLx - Overlap extent in X.
17     C OLy - Overlat extent in Y.
18     C Nx - No. points in X for the total domain.
19     C Ny - No. points in Y for the total domain.
20     INTEGER sNx
21     INTEGER sNy
22     INTEGER OLx
23     INTEGER OLy
24     PARAMETER (
25     & sNx =90,
26     & sNy =40,
27     & OLx = 1,
28     & OLy = 1)
29    
30     COMMON /SIZE_C/ Nx, Ny
31     INTEGER Nx
32     INTEGER Ny

  ViewVC Help
Powered by ViewVC 1.1.22