--- MITgcm/verification/hs94.cs-32x32x5/code/SIZE.h 2001/04/09 20:01:16 1.1 +++ MITgcm/verification/hs94.cs-32x32x5/code/SIZE.h 2001/05/29 14:01:58 1.2 @@ -0,0 +1,58 @@ +C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/hs94.cs-32x32x5/code/SIZE.h,v 1.2 2001/05/29 14:01:58 adcroft Exp $ +C $Name: $ + +C /==========================================================\ +C | SIZE.h Declare size of underlying computational grid. | +C |==========================================================| +C | The design here support a three-dimensional model grid | +C | with indices I,J and K. The three-dimensional domain | +C | is comprised of nPx*nSx blocks of size sNx along one axis| +C | nPy*nSy blocks of size sNy along another axis and one | +C | block of size Nz along the final axis. | +C | Blocks have overlap regions of size OLx and OLy along the| +C | dimensions that are subdivided. | +C \==========================================================/ +C Voodoo numbers controlling data layout. +C sNx - No. X points in sub-grid. +C sNy - No. Y points in sub-grid. +C OLx - Overlap extent in X. +C OLy - Overlat extent in Y. +C nSx - No. sub-grids in X. +C nSy - No. sub-grids in Y. +C nPx - No. of processes to use in X. +C nPy - No. of processes to use in Y. +C Nx - No. points in X for the total domain. +C Ny - No. points in Y for the total domain. +C Nr - No. points in Z for full process domain. + INTEGER sNx + INTEGER sNy + INTEGER OLx + INTEGER OLy + INTEGER nSx + INTEGER nSy + INTEGER nPx + INTEGER nPy + INTEGER Nx + INTEGER Ny + INTEGER Nr + PARAMETER ( + & sNx = 32, + & sNy = 32, + & OLx = 3, + & OLy = 3, + & nSx = 6, + & nSy = 1, + & nPx = 1, + & nPy = 1, + & Nx = sNx*nSx*nPx, + & Ny = sNy*nSy*nPy, + & Nr = 5) + +C MAX_OLX - Set to the maximum overlap region size of any array +C MAX_OLY that will be exchanged. Controls the sizing of exch +C routine buufers. + INTEGER MAX_OLX + INTEGER MAX_OLY + PARAMETER ( MAX_OLX = OLx, + & MAX_OLY = OLy ) +