1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
C |
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 |
44 |
INTEGER Ny |
INTEGER Ny |
45 |
INTEGER Nr |
INTEGER Nr |
46 |
PARAMETER ( |
PARAMETER ( |
47 |
& sNx = 2, |
& sNx = 1, |
48 |
& sNy = 64, |
& sNy = 32, |
49 |
& OLx = 4, |
& OLx = 2, |
50 |
& OLy = 4, |
& OLy = 2, |
51 |
& nSx = 1, |
& nSx = 1, |
52 |
& nSy = 1, |
& nSy = 2, |
53 |
& nPx = 1, |
& nPx = 1, |
54 |
& nPy = 1, |
& nPy = 1, |
55 |
& Nx = sNx*nSx*nPx, |
& Nx = sNx*nSx*nPx, |
66 |
|
|
67 |
integer nobcs |
integer nobcs |
68 |
parameter ( nobcs = 4 ) |
parameter ( nobcs = 4 ) |
69 |
|
|