/[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.16 by cnh, Sat Aug 22 17:51:07 1998 UTC revision 1.21 by adcroft, Thu Jul 13 18:08:47 2000 UTC
# Line 7  C     | The design here support a three- Line 7  C     | The design here support a three-
7  C     | with indices I,J and K. The three-dimensional domain     |  C     | with indices I,J and K. The three-dimensional domain     |
8  C     | is comprised of nPx*nSx blocks of size sNx along one axis|  C     | is comprised of nPx*nSx blocks of size sNx along one axis|
9  C     | nPy*nSy blocks of size sNy along another axis and one    |  C     | nPy*nSy blocks of size sNy along another axis and one    |
10  C     | block of size Nr along the final axis.                   |  C     | block of size Nz along the final axis.                   |
11  C     | Blocks have overlap regions of size OLx and OLy along the|  C     | Blocks have overlap regions of size OLx and OLy along the|
12  C     | dimensions that are subdivided.                          |  C     | dimensions that are subdivided.                          |
13  C     \==========================================================/  C     \==========================================================/
# Line 22  C     nPx - No. of processes to use in X Line 22  C     nPx - No. of processes to use in X
22  C     nPy - No. of processes to use in Y.  C     nPy - No. of processes to use in Y.
23  C     Nx  - No. points in X for the total domain.  C     Nx  - No. points in X for the total domain.
24  C     Ny  - No. points in Y for the total domain.  C     Ny  - No. points in Y for the total domain.
25  C     Nr  - No. points in R for full process domain.  C     Nr  - No. points in Z for full process domain.
26        INTEGER sNx        INTEGER sNx
27        INTEGER sNy        INTEGER sNy
28        INTEGER OLx        INTEGER OLx
# Line 36  C     Nr  - No. points in R for full pro Line 36  C     Nr  - No. points in R for full pro
36        INTEGER Nr        INTEGER Nr
37        PARAMETER (        PARAMETER (
38       &           sNx =  90,       &           sNx =  90,
39       &           sNy =  20,       &           sNy =  40,
40       &           OLx =   3,       &           OLx =   3,
41       &           OLy =   3,       &           OLy =   3,
42       &           nSx =   1,       &           nSx =   1,
43       &           nSy =   1,       &           nSy =   1,
44       &           nPx =   1,       &           nPx =   1,
45       &           nPy =   2,       &           nPy =   1,
46       &           Nx  = sNx*nSx*nPx,       &           Nx  = sNx*nSx*nPx,
47       &           Ny  = sNy*nSy*nPy,       &           Ny  = sNy*nSy*nPy,
48       &           Nr  =  20)       &           Nr  =  20)
49    
50  C     l - Runtime global problem size in X  C     MAX_OLX  - Set to the maximum overlap region size of any array
51  C     m - Runtime global problem size in Y  C     MAX_OLY    that will be exchanged. Controls the sizing of exch
52  C     n - Runtime global problem size in R  C                routine buufers.
53        COMMON /RUNSIZ/ l, m, n        INTEGER MAX_OLX
54        INTEGER l        INTEGER MAX_OLY
55        INTEGER m        PARAMETER ( MAX_OLX = OLx,
56        INTEGER n       &            MAX_OLY = OLy )
57    

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

  ViewVC Help
Powered by ViewVC 1.1.22