/[MITgcm]/MITgcm/verification/rotating_tank/code/SIZE.h_mpi
ViewVC logotype

Diff of /MITgcm/verification/rotating_tank/code/SIZE.h_mpi

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

revision 1.1 by jmc, Sun Sep 3 23:31:11 2006 UTC revision 1.2 by jmc, Sat Feb 12 22:04:41 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 Z 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 40  C     Nr  - No. points in Z for full pro Line 47  C     Nr  - No. points in Z for full pro
47       &           sNy =  23,       &           sNy =  23,
48       &           OLx =   3,       &           OLx =   3,
49       &           OLy =   3,       &           OLy =   3,
50       &           nSx =   2,       &           nSx =   1,
51       &           nSy =   1,       &           nSy =   1,
52       &           nPx =   2,       &           nPx =   4,
53       &           nPy =   1,       &           nPy =   1,
54       &           Nx  = sNx*nSx*nPx,       &           Nx  = sNx*nSx*nPx,
55       &           Ny  = sNy*nSy*nPy,       &           Ny  = sNy*nSy*nPy,
56       &           Nr  =  29)       &           Nr  =  29)
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