/[MITgcm]/MITgcm/verification/hs94.cs-32x32x5/code/SIZE.h
ViewVC logotype

Diff of /MITgcm/verification/hs94.cs-32x32x5/code/SIZE.h

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

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

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22