/[MITgcm]/MITgcm/verification/global_ocean.cs32x15/code/SIZE.h
ViewVC logotype

Diff of /MITgcm/verification/global_ocean.cs32x15/code/SIZE.h

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

revision 1.4 by jmc, Sat Oct 1 21:13:42 2005 UTC revision 1.5 by jmc, Tue Jun 12 15:27:37 2007 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C $Name$  C $Name$
3    
4  C  
5  C     /==========================================================\  CBOP
6  C     | SIZE.h Declare size of underlying computational grid.    |  C    !ROUTINE: SIZE.h
7  C     |==========================================================|  C    !INTERFACE:
8  C     | The design here support a three-dimensional model grid   |  C    include SIZE.h
9  C     | with indices I,J and K. The three-dimensional domain     |  C    !DESCRIPTION: \bv
10  C     | is comprised of nPx*nSx blocks of size sNx along one axis|  C     *==========================================================*
11  C     | nPy*nSy blocks of size sNy along another axis and one    |  C     | SIZE.h Declare size of underlying computational grid.
12  C     | block of size Nz along the final axis.                   |  C     *==========================================================*
13  C     | Blocks have overlap regions of size OLx and OLy along the|  C     | The design here support a three-dimensional model grid
14  C     | dimensions that are subdivided.                          |  C     | with indices I,J and K. The three-dimensional domain
15  C     \==========================================================/  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 43  C     Nr  - No. points in Z for full pro
43        INTEGER Nx        INTEGER Nx
44        INTEGER Ny        INTEGER Ny
45        INTEGER Nr        INTEGER Nr
46    C-- Note: the 4 test-experiments (input, input.thsice, input.viscA4 and
47    C         input.icedyn ) have different minimum Overlap-size requirement:
48    C    input & input.thsice : work with Olx=Oly=2 (= absolute minimum size) ;
49    C    input.viscA4 : needs at least Olx=Oly=3 (for biharmonic viscosity) ;
50    C    input.icedyn : needs at least Olx=Oly=4 (CS-grid multidimensional Advect.)
51        PARAMETER (        PARAMETER (
52       &           sNx =  32,       &           sNx =  32,
53       &           sNy =  32,       &           sNy =  32,
54       &           OLx =   3,       &           OLx =   4,
55       &           OLy =   3,       &           OLy =   4,
56       &           nSx =   6,       &           nSx =   6,
57       &           nSy =   1,       &           nSy =   1,
58       &           nPx =   1,       &           nPx =   1,

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

  ViewVC Help
Powered by ViewVC 1.1.22