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

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

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

revision 1.1 by spk, Tue Apr 19 15:07:16 2005 UTC revision 1.2 by jmc, Thu Aug 25 22:33:32 2011 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C $Name$  C $Name$
3  C  
4  C     /==========================================================\  CBOP
5  C     | SIZE.h Declare size of underlying computational grid.    |  C    !ROUTINE: SIZE.h
6  C     |==========================================================|  C    !INTERFACE:
7  C     | The design here support a three-dimensional model grid   |  C    include SIZE.h
8  C     | with indices I,J and K. The three-dimensional domain     |  C    !DESCRIPTION: \bv
9  C     | is comprised of nPx*nSx blocks of size sNx along one axis|  C     *==========================================================*
10  C     | nPy*nSy blocks of size sNy along another axis and one    |  C     | SIZE.h Declare size of underlying computational grid.    
11  C     | block of size Nz along the final axis.                   |  C     *==========================================================*
12  C     | Blocks have overlap regions of size OLx and OLy along the|  C     | The design here support a three-dimensional model grid    
13  C     | dimensions that are subdivided.                          |  C     | with indices I,J and K. The three-dimensional domain      
14  C     \==========================================================/  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  C     Voodoo numbers controlling data layout.  C     Voodoo numbers controlling data layout.
23  C     sNx - No. X points in sub-grid.  C     sNx :: No. X points in sub-grid.
24  C     sNy - No. Y points in sub-grid.  C     sNy :: No. Y points in sub-grid.
25  C     OLx - Overlap extent in X.  C     OLx :: Overlap extent in X.
26  C     OLy - Overlat extent in Y.  C     OLy :: Overlat extent in Y.
27  C     nSx - No. sub-grids in X.  C     nSx :: No. sub-grids in X.
28  C     nSy - No. sub-grids in Y.  C     nSy :: No. sub-grids in Y.
29  C     nPx - No. of processes to use in X.  C     nPx :: No. of processes to use in X.
30  C     nPy - No. of processes to use in Y.  C     nPy :: No. of processes to use in Y.
31  C     Nx  - No. points in X for the total domain.  C     Nx  :: No. points in X for the total domain.
32  C     Ny  - No. points in Y for the total domain.  C     Ny  :: No. points in Y for the total domain.
33  C     Nr  - No. points in R for full process domain.  C     Nr  :: No. points in Z for full process domain.
34        INTEGER sNx        INTEGER sNx
35        INTEGER sNy        INTEGER sNy
36        INTEGER OLx        INTEGER OLx
# Line 36  C     Nr  - No. points in R for full pro Line 43  C     Nr  - No. points in R for full pro
43        INTEGER Ny        INTEGER Ny
44        INTEGER Nr        INTEGER Nr
45        PARAMETER (        PARAMETER (
46       &           sNx =  31,       &           sNx =  32,
47       &           sNy =  31,       &           sNy =  32,
48       &           OLx =   3,       &           OLx =   3,
49       &           OLy =   3,       &           OLy =   3,
50       &           nSx =   1,       &           nSx =   1,
# Line 48  C     Nr  - No. points in R for full pro Line 55  C     Nr  - No. points in R for full pro
55       &           Ny  = sNy*nSy*nPy,       &           Ny  = sNy*nSy*nPy,
56       &           Nr  =   1)       &           Nr  =   1)
57    
58  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
59  C     MAX_OLY    that will be exchanged. Controls the sizing of exch  C     MAX_OLY    that will be exchanged. Controls the sizing of exch
60  C                routine buufers.  C                routine buffers.
61        INTEGER MAX_OLX        INTEGER MAX_OLX
62        INTEGER MAX_OLY        INTEGER MAX_OLY
63        PARAMETER ( MAX_OLX = OLx,        PARAMETER ( MAX_OLX = OLx,

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22