/[MITgcm]/MITgcm/model/inc/SIZE.h
ViewVC logotype

Diff of /MITgcm/model/inc/SIZE.h

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

revision 1.21 by adcroft, Thu Jul 13 18:08:47 2000 UTC revision 1.26 by cnh, Fri Sep 21 15:13:31 2001 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2    C $Name$
3    
4      These lines are here to deliberately cause a compile-time error.
5      If you see these lines in your .F files or the compiler shows them
6      as an error then it means you have not placed your configuration
7      files in the appropriate place.
8      You need to place you own copy of SIZE.h in the include
9      path for the model.
10    
11  C  C
12  C     /==========================================================\  CBOP
13  C     | SIZE.h Declare size of underlying computational grid.    |  C    !ROUTINE: SIZE.h
14  C     |==========================================================|  C    !INTERFACE:
15  C     | The design here support a three-dimensional model grid   |  C    include SIZE.h
16  C     | with indices I,J and K. The three-dimensional domain     |  C    !DESCRIPTION: \bv
17  C     | is comprised of nPx*nSx blocks of size sNx along one axis|  C     *==========================================================*
18  C     | nPy*nSy blocks of size sNy along another axis and one    |  C     | SIZE.h Declare size of underlying computational grid.    
19  C     | block of size Nz along the final axis.                   |  C     *==========================================================*
20  C     | Blocks have overlap regions of size OLx and OLy along the|  C     | The design here support a three-dimensional model grid    
21  C     | dimensions that are subdivided.                          |  C     | with indices I,J and K. The three-dimensional domain      
22  C     \==========================================================/  C     | is comprised of nPx*nSx blocks of size sNx along one axis
23    C     | nPy*nSy blocks of size sNy along another axis and one    
24    C     | block of size Nz along the final axis.                    
25    C     | Blocks have overlap regions of size OLx and OLy along the
26    C     | dimensions that are subdivided.                          
27    C     *==========================================================*
28    C     \ev
29    CEOP
30  C     Voodoo numbers controlling data layout.  C     Voodoo numbers controlling data layout.
31  C     sNx - No. X points in sub-grid.  C     sNx :: No. X points in sub-grid.
32  C     sNy - No. Y points in sub-grid.  C     sNy :: No. Y points in sub-grid.
33  C     OLx - Overlap extent in X.  C     OLx :: Overlap extent in X.
34  C     OLy - Overlat extent in Y.  C     OLy :: Overlat extent in Y.
35  C     nSx - No. sub-grids in X.  C     nSx :: No. sub-grids in X.
36  C     nSy - No. sub-grids in Y.  C     nSy :: No. sub-grids in Y.
37  C     nPx - No. of processes to use in X.  C     nPx :: No. of processes to use in X.
38  C     nPy - No. of processes to use in Y.  C     nPy :: No. of processes to use in Y.
39  C     Nx  - No. points in X for the total domain.  C     Nx  :: No. points in X for the total domain.
40  C     Ny  - No. points in Y for the total domain.  C     Ny  :: No. points in Y for the total domain.
41  C     Nr  - No. points in Z for full process domain.  C     Nr  :: No. points in Z for full process domain.
42        INTEGER sNx        INTEGER sNx
43        INTEGER sNy        INTEGER sNy
44        INTEGER OLx        INTEGER OLx
# Line 35  C     Nr  - No. points in Z for full pro Line 51  C     Nr  - No. points in Z for full pro
51        INTEGER Ny        INTEGER Ny
52        INTEGER Nr        INTEGER Nr
53        PARAMETER (        PARAMETER (
54       &           sNx =  90,       &           sNx =  20,
55       &           sNy =  40,       &           sNy =  16,
56       &           OLx =   3,       &           OLx =   4,
57       &           OLy =   3,       &           OLy =   4,
58       &           nSx =   1,       &           nSx =   1,
59       &           nSy =   1,       &           nSy =   1,
60       &           nPx =   1,       &           nPx =   1,
61       &           nPy =   1,       &           nPy =   1,
62       &           Nx  = sNx*nSx*nPx,       &           Nx  = sNx*nSx*nPx,
63       &           Ny  = sNy*nSy*nPy,       &           Ny  = sNy*nSy*nPy,
64       &           Nr  =  20)       &           Nr  =  23)
65    
66  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
67  C     MAX_OLY    that will be exchanged. Controls the sizing of exch  C     MAX_OLY    that will be exchanged. Controls the sizing of exch

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.22