/[MITgcm]/MITgcm/verification/matrix_example/code/SIZE.h
ViewVC logotype

Annotation of /MITgcm/verification/matrix_example/code/SIZE.h

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


Revision 1.3 - (hide annotations) (download)
Fri Aug 26 19:49:10 2011 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.2: +5 -5 lines
File MIME type: text/plain
split the domain in 8 tiles (2x4); and add SIZE.h_mpi for MPI testing

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/verification/matrix_example/code/SIZE.h,v 1.2 2011/08/25 22:33:32 jmc Exp $
2 spk 1.1 C $Name: $
3 jmc 1.2
4     CBOP
5     C !ROUTINE: SIZE.h
6     C !INTERFACE:
7     C include SIZE.h
8     C !DESCRIPTION: \bv
9     C *==========================================================*
10     C | SIZE.h Declare size of underlying computational grid.
11     C *==========================================================*
12     C | The design here support a three-dimensional model grid
13     C | with indices I,J and K. The three-dimensional domain
14     C | is comprised of nPx*nSx blocks of size sNx along one axis
15     C | nPy*nSy blocks of size sNy along another axis and one
16     C | block of size Nz along the final axis.
17     C | Blocks have overlap regions of size OLx and OLy along the
18     C | dimensions that are subdivided.
19     C *==========================================================*
20     C \ev
21     CEOP
22 spk 1.1 C Voodoo numbers controlling data layout.
23 jmc 1.2 C sNx :: No. X points in sub-grid.
24     C sNy :: No. Y points in sub-grid.
25     C OLx :: Overlap extent in X.
26     C OLy :: Overlat extent in Y.
27     C nSx :: No. sub-grids in X.
28     C nSy :: No. sub-grids in Y.
29     C nPx :: No. of processes to use in X.
30     C nPy :: No. of processes to use in Y.
31     C Nx :: No. points in X for the total domain.
32     C Ny :: No. points in Y for the total domain.
33     C Nr :: No. points in Z for full process domain.
34 spk 1.1 INTEGER sNx
35     INTEGER sNy
36     INTEGER OLx
37     INTEGER OLy
38     INTEGER nSx
39     INTEGER nSy
40     INTEGER nPx
41     INTEGER nPy
42     INTEGER Nx
43     INTEGER Ny
44     INTEGER Nr
45     PARAMETER (
46 jmc 1.3 & sNx = 16,
47     & sNy = 8,
48 spk 1.1 & OLx = 3,
49     & OLy = 3,
50 jmc 1.3 & nSx = 2,
51     & nSy = 4,
52 spk 1.1 & nPx = 1,
53     & nPy = 1,
54     & Nx = sNx*nSx*nPx,
55     & Ny = sNy*nSy*nPy,
56     & Nr = 1)
57    
58 jmc 1.2 C MAX_OLX :: Set to the maximum overlap region size of any array
59 spk 1.1 C MAX_OLY that will be exchanged. Controls the sizing of exch
60 jmc 1.2 C routine buffers.
61 spk 1.1 INTEGER MAX_OLX
62     INTEGER MAX_OLY
63     PARAMETER ( MAX_OLX = OLx,
64     & MAX_OLY = OLy )
65    

  ViewVC Help
Powered by ViewVC 1.1.22