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

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

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

revision 1.1 by cnh, Wed Apr 22 19:15:31 1998 UTC revision 1.42 by jmc, Sun Feb 17 02:08:13 2013 UTC
# Line 1  Line 1 
1  C $Id$  C $Header$
2    C $Name$
3  C  C
4  C     /==========================================================\  CBOP
5  C     | GRID.h                                                   |  C    !ROUTINE: GRID.h
6  C     | o Header file defining model grid.                       |  C    !INTERFACE:
7  C     |==========================================================|  C    include GRID.h
8  C     | Model grid is defined for each process by reference to   |  C    !DESCRIPTION: \bv
9  C     | the arrays set here.                                     |  C     *==========================================================*
10  C     | Notes                                                    |  C     | GRID.h
11  C     | =====                                                    |  C     | o Header file defining model grid.
12  C     | The standard MITgcm convention of westmost, southern most|  C     *==========================================================*
13  C     | and upper most having the (1,1,1) index is used here.    |  C     | Model grid is defined for each process by reference to
14  C     | i.e.                                                     |  C     | the arrays set here.
15  C     |----------------------------------------------------------|  C     | Notes
16  C     | (1)  Plan view schematic of model grid (top layer i.e. ) |  C     | =====
17  C     |      ================================= ( ocean surface ) |  C     | The standard MITgcm convention of westmost, southern most
18  C     |                                        ( or top of     ) |  C     | and upper most having the (1,1,1) index is used here.
19  C     |                                        ( atmosphere    ) |  C     | i.e.
20  C     |      This diagram shows the location of the model        |  C     |----------------------------------------------------------
21  C     |      prognostic variables on the model grid. The "T"     |  C     | (1)  Plan view schematic of model grid (top layer i.e. )
22  C     |      location is used for all tracers. The figure also   |  C     |      ================================= ( ocean surface )
23  C     |      shows the southern most, western most indexing      |  C     |                                        ( or top of     )
24  C     |      convention that is used for all model variables.    |  C     |                                        ( atmosphere    )
25  C     |                                                          |  C     |      This diagram shows the location of the model
26  C     |                                                          |  C     |      prognostic variables on the model grid. The "T"
27  C     |             V(i=1,                     V(i=Nx,           |  C     |      location is used for all tracers. The figure also
28  C     |               j=Ny+1,                    j=Ny+1,         |  C     |      shows the southern most, western most indexing
29  C     |               k=1)                       k=1)            |  C     |      convention that is used for all model variables.
30  C     |                /|\                       /|\  "PWX"      |  C     |
31  C     |       |---------|------------------etc..  |---- *---     |  C     |
32  C     |       |                     |                   *  |     |  C     |             V(i=1,                     V(i=Nx,
33  C     |"PWY"*******************************etc..  **********"PWY"|  C     |               j=Ny+1,                    j=Ny+1,
34  C     |       |                     |                   *  |     |  C     |               k=1)                       k=1)
35  C     |       |                     |                   *  |     |  C     |                /|\                       /|\  "PWX"
36  C     |       |                     |                   *  |     |  C     |       |---------|------------------etc..  |---- *---
37  C     |U(i=1, ==>       x           |             x     *==>U    |  C     |       |                     |                   *  |
38  C     |  j=Ny,|      T(i=1,         |          T(i=Nx,  *(i=Nx+1,|  C     |"PWY"*******************************etc..  **********"PWY"
39  C     |  k=1) |        j=Ny,        |            j=Ny,  *  |j=Ny,|  C     |       |                     |                   *  |
40  C     |       |        k=1)         |            k=1)   *  |k=1) |  C     |       |                     |                   *  |
41  C     |                                                          |  C     |       |                     |                   *  |
42  C     |       .                     .                      .     |  C     |U(i=1, ==>       x           |             x     *==>U
43  C     |       .                     .                      .     |  C     |  j=Ny,|      T(i=1,         |          T(i=Nx,  *(i=Nx+1,
44  C     |       .                     .                      .     |  C     |  k=1) |        j=Ny,        |            j=Ny,  *  |j=Ny,
45  C     |       e                     e                   *  e     |  C     |       |        k=1)         |            k=1)   *  |k=1)
46  C     |       t                     t                   *  t     |  C     |
47  C     |       c                     c                   *  c     |  C     |       .                     .                      .
48  C     |       |                     |                   *  |     |  C     |       .                     .                      .
49  C     |       |                     |                   *  |     |  C     |       .                     .                      .
50  C     |U(i=1, ==>       x           |             x     *  |     |  C     |       e                     e                   *  e
51  C     |  j=2, |      T(i=1,         |          T(i=Nx,  *  |     |  C     |       t                     t                   *  t
52  C     |  k=1) |        j=2,         |            j=2,   *  |     |  C     |       c                     c                   *  c
53  C     |       |        k=1)         |            k=1)   *  |     |  C     |       |                     |                   *  |
54  C     |       |                     |                   *  |     |  C     |       |                     |                   *  |
55  C     |       |        /|\          |            /|\    *  |     |  C     |U(i=1, ==>       x           |             x     *  |
56  C     |      -----------|------------------etc..  |-----*---     |  C     |  j=2, |      T(i=1,         |          T(i=Nx,  *  |
57  C     |       |       V(i=1,        |           V(i=Nx, *  |     |  C     |  k=1) |        j=2,         |            j=2,   *  |
58  C     |       |         j=2,        |             j=2,  *  |     |  C     |       |        k=1)         |            k=1)   *  |
59  C     |       |         k=1)        |             k=1)  *  |     |  C     |       |                     |                   *  |
60  C     |       |                     |                   *  |     |  C     |       |        /|\          |            /|\    *  |
61  C     |U(i=1, ==>       x         ==>U(i=2,       x     *==>U    |  C     |      -----------|------------------etc..  |-----*---
62  C     |  j=1, |      T(i=1,         |  j=1,    T(i=Nx,  *(i=Nx+1,|  C     |       |       V(i=1,        |           V(i=Nx, *  |
63  C     |  k=1) |        j=1,         |  k=1)      j=1,   *  |j=1, |  C     |       |         j=2,        |             j=2,  *  |
64  C     |       |        k=1)         |            k=1)   *  |k=1) |  C     |       |         k=1)        |             k=1)  *  |
65  C     |       |                     |                   *  |     |  C     |       |                     |                   *  |
66  C     |       |        /|\          |            /|\    *  |     |  C     |U(i=1, ==>       x         ==>U(i=2,       x     *==>U
67  C     |"SB"++>|---------|------------------etc..  |-----*---     |  C     |  j=1, |      T(i=1,         |  j=1,    T(i=Nx,  *(i=Nx+1,
68  C     |      /+\      V(i=1,                    V(i=Nx, *        |  C     |  k=1) |        j=1,         |  k=1)      j=1,   *  |j=1,
69  C     |       +         j=1,                      j=1,  *        |  C     |       |        k=1)         |            k=1)   *  |k=1)
70  C     |       +         k=1)                      k=1)  *        |  C     |       |                     |                   *  |
71  C     |     "WB"                                      "PWX"      |  C     |       |        /|\          |            /|\    *  |
72  C     |                                                          |  C     |"SB"++>|---------|------------------etc..  |-----*---
73  C     |   N, y increasing northwards                             |  C     |      /+\      V(i=1,                    V(i=Nx, *
74  C     |  /|\ j increasing northwards                             |  C     |       +         j=1,                      j=1,  *
75  C     |   |                                                      |  C     |       +         k=1)                      k=1)  *
76  C     |   |                                                      |  C     |     "WB"                                      "PWX"
77  C     |   ======>E, x increasing eastwards                       |  C     |
78  C     |             i increasing eastwards                       |  C     |   N, y increasing northwards
79  C     |                                                          |  C     |  /|\ j increasing northwards
80  C     |    i: East-west index                                    |  C     |   |
81  C     |    j: North-south index                                  |  C     |   |
82  C     |    k: up-down index                                      |  C     |   ======>E, x increasing eastwards
83  C     |    U: x-velocity (m/s)                                   |  C     |             i increasing eastwards
84  C     |    V: y-velocity (m/s)                                   |  C     |
85  C     |    T: potential temperature (oC)                         |  C     |    i: East-west index
86  C     | "SB": Southern boundary                                  |  C     |    j: North-south index
87  C     | "WB": Western boundary                                   |  C     |    k: up-down index
88  C     |"PWX": Periodic wrap around in X.                         |  C     |    U: x-velocity (m/s)
89  C     |"PWY": Periodic wrap around in Y.                         |  C     |    V: y-velocity (m/s)
90  C     |----------------------------------------------------------|  C     |    T: potential temperature (oC)
91  C     | (2) South elevation schematic of model grid              |  C     | "SB": Southern boundary
92  C     |     =======================================              |  C     | "WB": Western boundary
93  C     |     This diagram shows the location of the model         |  C     |"PWX": Periodic wrap around in X.
94  C     |     prognostic variables on the model grid. The "T"      |  C     |"PWY": Periodic wrap around in Y.
95  C     |     location is used for all tracers. The figure also    |  C     |----------------------------------------------------------
96  C     |     shows the upper most, western most indexing          |  C     | (2) South elevation schematic of model grid
97  C     |     convention that is used for all model variables.     |  C     |     =======================================
98  C     |                                                          |  C     |     This diagram shows the location of the model
99  C     |      "WB"                                                |  C     |     prognostic variables on the model grid. The "T"
100  C     |       +                                                  |  C     |     location is used for all tracers. The figure also
101  C     |       +                                                  |  C     |     shows the upper most, western most indexing
102  C     |      \+/        |                         |              |  C     |     convention that is used for all model variables.
103  C     |"UB"++>|--------\|/-----------------etc.. \|/----*---     |  C     |
104  C     |       |    w,om(i=1,        |        w,om(i=Nx, *  |     |  C     |      "WB"
105  C     |       |         j=1,        |             j=1,  *  |     |  C     |       +
106  C     |       |         k=1)        |             k=1)  *  |     |  C     |       +
107  C     |       |                     |                   *  |     |  C     |      \+/       /|\                       /|\       .
108  C     |U(i=1, ==>       x         ==>U(i=2,       x     *==>U    |  C     |"UB"++>|-------- | -----------------etc..  | ----*---
109  C     |  j=1, |      T(i=1,         |  j=1,    T(i=Nx,  *(i=Nx+1,|  C     |       |    rVel(i=1,        |        rVel(i=Nx, *  |
110  C     |  k=1) |        j=1,         |  k=1)      j=1,   *  |j=1, |  C     |       |         j=1,        |             j=1,  *  |
111  C     |       |        k=1)         |            k=1)   *  |k=1) |  C     |       |         k=1)        |             k=1)  *  |
112  C     |       |                     |                   *  |     |  C     |       |                     |                   *  |
113  C     |       |         |           |             |     *  |     |  C     |U(i=1, ==>       x         ==>U(i=2,       x     *==>U
114  C     |       |--------\|/-----------------etc.. \|/----*---     |  C     |  j=1, |      T(i=1,         |  j=1,    T(i=Nx,  *(i=Nx+1,
115  C     |       |    w,om(i=1,        |        w,om(i=Nx, *  |     |  C     |  k=1) |        j=1,         |  k=1)      j=1,   *  |j=1,
116  C     |       |         j=1,        |             j=1,  *  |     |  C     |       |        k=1)         |            k=1)   *  |k=1)
117  C     |       |         k=2)        |             k=2)  *  |     |  C     |       |                     |                   *  |
118  C     |                                                          |  C     |       |        /|\          |            /|\    *  |
119  C     |       .                     .                      .     |  C     |       |-------- | -----------------etc..  | ----*---
120  C     |       .                     .                      .     |  C     |       |    rVel(i=1,        |        rVel(i=Nx, *  |
121  C     |       .                     .                      .     |  C     |       |         j=1,        |             j=1,  *  |
122  C     |       e                     e                   *  e     |  C     |       |         k=2)        |             k=2)  *  |
123  C     |       t                     t                   *  t     |  C     |
124  C     |       c                     c                   *  c     |  C     |       .                     .                      .
125  C     |       |                     |                   *  |     |  C     |       .                     .                      .
126  C     |       |                     |                   *  |     |  C     |       .                     .                      .
127  C     |       |                     |                   *  |     |  C     |       e                     e                   *  e
128  C     |       |                     |                   *  |     |  C     |       t                     t                   *  t
129  C     |       |         |           |             |     *  |     |  C     |       c                     c                   *  c
130  C     |       |--------\|/-----------------etc.. \|/----*---     |  C     |       |                     |                   *  |
131  C     |       |    w,om(i=1,        |        w,om(i=Nx, *  |     |  C     |       |                     |                   *  |
132  C     |       |         j=1,        |             j=1,  *  |     |  C     |       |                     |                   *  |
133  C     |       |         k=Nz)       |             k=Nz) *  |     |  C     |       |                     |                   *  |
134  C     |U(i=1, ==>       x         ==>U(i=2,       x     *==>U    |  C     |       |        /|\          |            /|\    *  |
135  C     |  j=1, |      T(i=1,         |  j=1,    T(i=Nx,  *(i=Nx+1,|  C     |       |-------- | -----------------etc..  | ----*---
136  C     |  k=Nz)|        j=1,         |  k=Nz)     j=1,   *  |j=1, |  C     |       |    rVel(i=1,        |        rVel(i=Nx, *  |
137  C     |       |        k=Nz)        |            k=Nz)  *  |k=Nz)|  C     |       |         j=1,        |             j=1,  *  |
138  C     |       |                     |                   *  |     |  C     |       |         k=Nr)       |             k=Nr) *  |
139  C     |"LB"++>==============================================     |  C     |U(i=1, ==>       x         ==>U(i=2,       x     *==>U
140  C     |                                               "PWX"      |  C     |  j=1, |      T(i=1,         |  j=1,    T(i=Nx,  *(i=Nx+1,
141  C     |                                                          |  C     |  k=Nr)|        j=1,         |  k=Nr)     j=1,   *  |j=1,
142  C     | Up,z increasing upwards.                                 |  C     |       |        k=Nr)        |            k=Nr)  *  |k=Nr)
143  C     |/|\                                                       |  C     |       |                     |                   *  |
144  C     | |                                                        |  C     |"LB"++>==============================================
145  C     | |                                                        |  C     |                                               "PWX"
146  C     | =====> E  i increasing eastwards                         |  C     |
147  C     | |         x increasing eastwards                         |  C     | Up   increasing upwards.
148  C     | |                                                        |  C     |/|\                                                       .
149  C     |\|/                                                       |  C     | |
150  C     | Down,k increasing downwards.                             |  C     | |
151  C     |                                                          |  C     | =====> E  i increasing eastwards
152  C     |    i: East-west index                                    |  C     | |         x increasing eastwards
153  C     |    j: North-south index                                  |  C     | |
154  C     |    k: up-down index                                      |  C     |\|/
155  C     |    U: x-velocity (m/s)                                   |  C     | Down,k increasing downwards.
156  C     | w,om: z-velocity (Pa/s - therefore +ve is down)          |  C     |
157  C     |       The vertical velocity variable is sometimes named  |  C     | Note: r => height (m) => r increases upwards
158  C     |       "w" in the model code. The vertical coordinate and |  C     |       r => pressure (Pa) => r increases downwards
159  C     |       also gridding are both under review - watch this   |  C     |
160  C     |       space!                                             |  C     |
161  C     |    T: potential temperature (oC)                         |  C     |    i: East-west index
162  C     | "UB": Upper boundary.                                    |  C     |    j: North-south index
163  C     | "LB": Lower boundary (always solid - therefore om|w == 0)|  C     |    k: up-down index
164  C     | "WB": Western boundary                                   |  C     |    U: x-velocity (m/s)
165  C     |"PWX": Periodic wrap around in X.                         |  C     | rVel: z-velocity ( units of r )
166  C     |----------------------------------------------------------|  C     |       The vertical velocity variable rVel is in units of
167  C     | (3) Views showing nomenclature and indexing              |  C     |       "r" the vertical coordinate. r in m will give
168  C     |     for grid descriptor variables.                       |  C     |       rVel m/s. r in Pa will give rVel Pa/s.
169  C     |                                                          |  C     |    T: potential temperature (oC)
170  C     |      Fig 3a. shows the orientation, indexing and         |  C     | "UB": Upper boundary.
171  C     |      notation for the grid spacing terms used internally |  C     | "LB": Lower boundary (always solid - therefore om|w == 0)
172  C     |      for the evaluation of gradient and averaging terms. |  C     | "WB": Western boundary
173  C     |      These varaibles are set based on the model input    |  C     |"PWX": Periodic wrap around in X.
174  C     |      parameters which define the model grid in terms of  |  C     |----------------------------------------------------------
175  C     |      spacing in X, Y and Z.                              |  C     | (3) Views showing nomenclature and indexing
176  C     |                                                          |  C     |     for grid descriptor variables.
177  C     |      Fig 3b. shows the orientation, indexing and         |  C     |
178  C     |      notation for the variables that are used to define  |  C     |      Fig 3a. shows the orientation, indexing and
179  C     |      the model grid. These varaibles are set directly    |  C     |      notation for the grid spacing terms used internally
180  C     |      from the model input.                               |  C     |      for the evaluation of gradient and averaging terms.
181  C     |                                                          |  C     |      These varaibles are set based on the model input
182  C     | Figure 3a                                                |  C     |      parameters which define the model grid in terms of
183  C     | =========                                                |  C     |      spacing in X, Y and Z.
184  C     |       |------------------------------------              |  C     |
185  C     |       |                       |                          |  C     |      Fig 3b. shows the orientation, indexing and
186  C     |"PWY"********************************* etc...             |  C     |      notation for the variables that are used to define
187  C     |       |                       |                          |  C     |      the model grid. These varaibles are set directly
188  C     |       |                       |                          |  C     |      from the model input.
189  C     |       |                       |                          |  C     |
190  C     |       |                       |                          |  C     | Figure 3a
191  C     |       |                       |                          |  C     | =========
192  C     |       |                       |                          |  C     |       |------------------------------------
193  C     |       |                       |                          |  C     |       |                       |
194  C     |                                                          |  C     |"PWY"********************************* etc...
195  C     |       .                       .                          |  C     |       |                       |
196  C     |       .                       .                          |  C     |       |                       |
197  C     |       .                       .                          |  C     |       |                       |
198  C     |       e                       e                          |  C     |       |                       |
199  C     |       t                       t                          |  C     |       |                       |
200  C     |       c                       c                          |  C     |       |                       |
201  C     |       |-----------v-----------|-----------v----------|-  |  C     |       |                       |
202  C     |       |                       |                      |   |  C     |
203  C     |       |                       |                      |   |  C     |       .                       .
204  C     |       |                       |                      |   |  C     |       .                       .
205  C     |       |                       |                      |   |  C     |       .                       .
206  C     |       |                       |                      |   |  C     |       e                       e
207  C     |       u<--dxF(i=1,j=2,k=1)--->u           t          |   |  C     |       t                       t
208  C     |       |/|\       /|\          |                      |   |  C     |       c                       c
209  C     |       | |         |           |                      |   |  C     |       |-----------v-----------|-----------v----------|-
210  C     |       | |         |           |                      |   |  C     |       |                       |                      |
211  C     |       | |         |           |                      |   |  C     |       |                       |                      |
212  C     |       |dyU(i=1,  dyC(i=1,     |                      |   |  C     |       |                       |                      |
213  C     | ---  ---|--j=2,---|--j=2,-----------------v----------|-  |  C     |       |                       |                      |
214  C     | /|\   | |  k=1)   |  k=1)     |          /|\         |   |  C     |       |                       |                      |
215  C     |  |    | |         |           |          dyF(i=2,    |   |  C     |       u<--dxF(i=1,j=2,k=1)--->u           t          |
216  C     |  |    | |         |           |           |  j=1,    |   |  C     |       |/|\       /|\          |                      |
217  C     |dyG(   |\|/       \|/          |           |  k=1)    |   |  C     |       | |         |           |                      |
218  C     |   i=1,u---        t<---dxC(i=2,j=1,k=1)-->t          |   |  C     |       | |         |           |                      |
219  C     |   j=1,|                       |           |          |   |  C     |       | |         |           |                      |
220  C     |   k=1)|                       |           |          |   |  C     |       |dyU(i=1,  dyC(i=1,     |                      |
221  C     |  |    |                       |           |          |   |  C     | ---  ---|--j=2,---|--j=2,-----------------v----------|-
222  C     |  |    |                       |           |          |   |  C     | /|\   | |  k=1)   |  k=1)     |          /|\         |
223  C     | \|/   |           |<---dxV(i=2,j=1,k=1)--\|/         |   |  C     |  |    | |         |           |          dyF(i=2,    |
224  C     |"SB"++>|___________v___________|___________v__________|_  |  C     |  |    | |         |           |           |  j=1,    |
225  C     |       <--dxG(i=1,j=1,k=1)----->                          |  C     |dyG(   |\|/       \|/          |           |  k=1)    |
226  C     |      /+\                                                 |  C     |   i=1,u---        t<---dxC(i=2,j=1,k=1)-->t          |
227  C     |       +                                                  |  C     |   j=1,|                       |           |          |
228  C     |       +                                                  |  C     |   k=1)|                       |           |          |
229  C     |     "WB"                                                 |  C     |  |    |                       |           |          |
230  C     |                                                          |  C     |  |    |                       |           |          |
231  C     |   N, y increasing northwards                             |  C     | \|/   |           |<---dxV(i=2,j=1,k=1)--\|/         |
232  C     |  /|\ j increasing northwards                             |  C     |"SB"++>|___________v___________|___________v__________|_
233  C     |   |                                                      |  C     |       <--dxG(i=1,j=1,k=1)----->
234  C     |   |                                                      |  C     |      /+\                                              .
235  C     |   ======>E, x increasing eastwards                       |  C     |       +
236  C     |             i increasing eastwards                       |  C     |       +
237  C     |                                                          |  C     |     "WB"
238  C     |    i: East-west index                                    |  C     |
239  C     |    j: North-south index                                  |  C     |   N, y increasing northwards
240  C     |    k: up-down index                                      |  C     |  /|\ j increasing northwards
241  C     |    u: x-velocity point                                   |  C     |   |
242  C     |    V: y-velocity point                                   |  C     |   |
243  C     |    t: tracer point                                       |  C     |   ======>E, x increasing eastwards
244  C     | "SB": Southern boundary                                  |  C     |             i increasing eastwards
245  C     | "WB": Western boundary                                   |  C     |
246  C     |"PWX": Periodic wrap around in X.                         |  C     |    i: East-west index
247  C     |"PWY": Periodic wrap around in Y.                         |  C     |    j: North-south index
248  C     |                                                          |  C     |    k: up-down index
249  C     | Figure 3b                                                |  C     |    u: x-velocity point
250  C     | =========                                                |  C     |    V: y-velocity point
251  C     |                                                          |  C     |    t: tracer point
252  C     |       .                       .                          |  C     | "SB": Southern boundary
253  C     |       .                       .                          |  C     | "WB": Western boundary
254  C     |       .                       .                          |  C     |"PWX": Periodic wrap around in X.
255  C     |       e                       e                          |  C     |"PWY": Periodic wrap around in Y.
256  C     |       t                       t                          |  C     |
257  C     |       c                       c                          |  C     | Figure 3b
258  C     |       |-----------v-----------|-----------v--etc...      |  C     | =========
259  C     |       |                       |                          |  C     |
260  C     |       |                       |                          |  C     |       .                       .
261  C     |       |                       |                          |  C     |       .                       .
262  C     |       |                       |                          |  C     |       .                       .
263  C     |       |                       |                          |  C     |       e                       e
264  C     |       u<--delX(i=1)---------->u           t              |  C     |       t                       t
265  C     |       |                       |                          |  C     |       c                       c
266  C     |       |                       |                          |  C     |       |-----------v-----------|-----------v--etc...
267  C     |       |                       |                          |  C     |       |                       |
268  C     |       |                       |                          |  C     |       |                       |
269  C     |       |                       |                          |  C     |       |                       |
270  C     |       |-----------v-----------------------v--etc...      |  C     |       |                       |
271  C     |       |          /|\          |                          |  C     |       |                       |
272  C     |       |           |           |                          |  C     |       u<--delX(i=1)---------->u           t
273  C     |       |           |           |                          |  C     |       |                       |
274  C     |       |           |           |                          |  C     |       |                       |
275  C     |       u        delY(j=1)      |           t              |  C     |       |                       |
276  C     |       |           |           |                          |  C     |       |                       |
277  C     |       |           |           |                          |  C     |       |                       |
278  C     |       |           |           |                          |  C     |       |-----------v-----------------------v--etc...
279  C     |       |           |           |                          |  C     |       |          /|\          |
280  C     |       |          \|/          |                          |  C     |       |           |           |
281  C     |"SB"++>|___________v___________|___________v__etc...      |  C     |       |           |           |
282  C     |      /+\                                                 |  C     |       |           |           |
283  C     |       +                                                  |  C     |       u        delY(j=1)      |           t
284  C     |       +                                                  |  C     |       |           |           |
285  C     |     "WB"                                                 |  C     |       |           |           |
286  C     |                                                          |  C     |       |           |           |
287  C     \==========================================================/  C     |       |           |           |
288  C  C     |       |          \|/          |
289  C--   COMMON /GRID_R/ REAL valued grid defining variables.  C     |"SB"++>|___________v___________|___________v__etc...
290  C     dxC    - Cell center separation in X across western cell wall (m)  C     |      /+\                                                 .
291  C     dxG    - Cell face separation in X along southern cell wall (m)  C     |       +
292  C     dxF    - Cell face separation in X thru cell center (m)  C     |       +
293  C     dxV    - V-point separation in X across south-west corner of cell (m)  C     |     "WB"
294  C     dyC    - Cell center separation in Y across southern cell wall (m)  C     |
295  C     dyG    - Cell face separation in Y along western cell wall (m)  C     *==========================================================*
296  C     dyF    - Cell face separation in Y thru cell center (m)  C     \ev
297  C     dyU    - U-point separation in Y across south-west corner of cell (m)  CEOP
298  C     dzC    - Cell center separation in Z (Pa).  
299  C     dzF    - Cell face separation in Z (Pa).  C     Macros that override/modify standard definitions
300  C     H      - Depth of base of fluid from upper surface f[X,Y] (m).  #include "GRID_MACROS.h"
301  C     hFac   - Fraction of cell in vertical which is open i.e how  
302    C--   COMMON /GRID_RL/ RL valued grid defining variables.
303    C     deepFacC  :: deep-model grid factor (fct of vertical only) for dx,dy
304    C     deepFacF     at level-center (deepFacC)  and level interface (deepFacF)
305    C     deepFac2C :: deep-model grid factor (fct of vertical only) for area dx*dy
306    C     deepFac2F    at level-center (deepFac2C) and level interface (deepFac2F)
307    C     gravitySign :: indicates the direction of gravity relative to R direction
308    C                   (= -1 for R=Z (Z increases upward, -gravity direction  )
309    C                   (= +1 for R=P (P increases downward, +gravity direction)
310    C     rkSign     :: Vertical coordinate to vertical index orientation.
311    C                   ( +1 same orientation, -1 opposite orientation )
312    C     globalArea :: Domain Integrated horizontal Area [m2]
313          COMMON /GRID_RL/
314         &  cosFacU, cosFacV, sqCosFacU, sqCosFacV,
315         &  deepFacC, deepFac2C, recip_deepFacC, recip_deepFac2C,
316         &  deepFacF, deepFac2F, recip_deepFacF, recip_deepFac2F,
317         &  gravitySign, rkSign, globalArea
318          _RL cosFacU        (1-Oly:sNy+Oly,nSx,nSy)
319          _RL cosFacV        (1-Oly:sNy+Oly,nSx,nSy)
320          _RL sqCosFacU      (1-Oly:sNy+Oly,nSx,nSy)
321          _RL sqCosFacV      (1-Oly:sNy+Oly,nSx,nSy)
322          _RL deepFacC       (Nr)
323          _RL deepFac2C      (Nr)
324          _RL deepFacF       (Nr+1)
325          _RL deepFac2F      (Nr+1)
326          _RL recip_deepFacC (Nr)
327          _RL recip_deepFac2C(Nr)
328          _RL recip_deepFacF (Nr+1)
329          _RL recip_deepFac2F(Nr+1)
330          _RL gravitySign
331          _RL rkSign
332          _RL globalArea
333    
334    C--   COMMON /GRID_RS/ RS valued grid defining variables.
335    C     dxC     :: Cell center separation in X across western cell wall (m)
336    C     dxG     :: Cell face separation in X along southern cell wall (m)
337    C     dxF     :: Cell face separation in X thru cell center (m)
338    C     dxV     :: V-point separation in X across south-west corner of cell (m)
339    C     dyC     :: Cell center separation in Y across southern cell wall (m)
340    C     dyG     :: Cell face separation in Y along western cell wall (m)
341    C     dyF     :: Cell face separation in Y thru cell center (m)
342    C     dyU     :: U-point separation in Y across south-west corner of cell (m)
343    C     drC     :: Cell center separation along Z axis ( units of r ).
344    C     drF     :: Cell face separation along Z axis ( units of r ).
345    C     R_low   :: base of fluid in r_unit (Depth(m) / Pressure(Pa) at top Atmos.)
346    C     rLowW   :: base of fluid column in r_unit at Western  edge location.
347    C     rLowS   :: base of fluid column in r_unit at Southern edge location.
348    C     Ro_surf :: surface reference (at rest) position, r_unit.
349    C     rSurfW  :: surface reference position at Western  edge location [r_unit].
350    C     rSurfS  :: surface reference position at Southern edge location [r_unit].
351    C     hFac    :: Fraction of cell in vertical which is open i.e how
352  C              "lopped" a cell is (dimensionless scale factor).  C              "lopped" a cell is (dimensionless scale factor).
353  C              Note: The code needs terms like MIN(hFac,hFac(I+1))  C              Note: The code needs terms like MIN(hFac,hFac(I+1))
354  C                    On some platforms it may be better to precompute  C                    On some platforms it may be better to precompute
355  C                    hFacW, hFacE, ... here than do MIN on the fly.  C                    hFacW, hFacE, ... here than do MIN on the fly.
356  C     maskW  - West face land mask  C     maskInC :: Cell Center 2-D Interior mask (i.e., zero beyond OB)
357  C     maskS  - South face land mask  C     maskInW :: West  face 2-D Interior mask (i.e., zero on and beyond OB)
358  C     rdxC   - Recipricol of dxC  C     maskInS :: South face 2-D Interior mask (i.e., zero on and beyond OB)
359  C     rdxG   - Recipricol of dxG  C     maskC   :: cell Center land mask
360  C     rdxF   - Recipricol of dxF  C     maskW   :: West face land mask
361  C     rdxV   - Recipricol of dxV  C     maskS   :: South face land mask
362  C     rdyC   - Recipricol of dxC  C     recip_dxC   :: Reciprocal of dxC
363  C     rdyG   - Recipricol of dyG  C     recip_dxG   :: Reciprocal of dxG
364  C     rdyF   - Recipricol of dyF  C     recip_dxF   :: Reciprocal of dxF
365  C     rdyU   - Recipricol of dyU  C     recip_dxV   :: Reciprocal of dxV
366  C     rdzC   - Recipricol of dzC  C     recip_dyC   :: Reciprocal of dxC
367  C     rdzF   - Recipricol of dzF  C     recip_dyG   :: Reciprocal of dyG
368  C     rh     - Inverse of cell center open-depth  C     recip_dyF   :: Reciprocal of dyF
369  C     rhFacC - Inverse of cell open-depth f[X,Y,Z] ( dimensionless ).  C     recip_dyU   :: Reciprocal of dyU
370  C     rhFacW   rhFacC center, rhFacW west, rhFacS south.  C     recip_drC   :: Reciprocal of drC
371  C     rhFacS   Note: This is precomputed here because it involves division.  C     recip_drF   :: Reciprocal of drF
372  C     saFac  - Shallow atmosphere factor (dimensionless scale factor).  C     recip_Rcol  :: Inverse of cell center column thickness (1/r_unit)
373  C     xC     - X-coordinate of center of cell f[X,Y]. The units of xc, yc  C     recip_hFacC :: Inverse of cell open-depth f[X,Y,Z] ( dimensionless ).
374  C              depend on the grid. They are not used in differencing or  C     recip_hFacW    rhFacC center, rhFacW west, rhFacS south.
375  C              averaging but are just a convient quantity for I/O,  C     recip_hFacS    Note: This is precomputed here because it involves division.
376  C              diagnostics etc.. As such xc is in m for cartesian  C     xC        :: X-coordinate of cell center f[X,Y]. The units of xc, yc
377  C              coordinates but degrees for spherical polar.  C                  depend on the grid. They are not used in differencing or
378  C     yC     - Y-coordinate of center of cell f[X,Y].  C                  averaging but are just a convient quantity for I/O,
379  C     zA     - Z-face are f[X,Y] (m^2).  C                  diagnostics etc.. As such xc is in m for cartesian
380  C              Note: In a cartesian framework zA is simply dx*dy,  C                  coordinates but degrees for spherical polar.
381  C                    however we use zA to allow for non-globally  C     yC        :: Y-coordinate of center of cell f[X,Y].
382  C                    orthogonal coordinate frames (with appropriate  C     yG        :: Y-coordinate of corner of cell ( c-grid vorticity point) f[X,Y].
383  C                    metric terms).  C     rA        :: R-face are f[X,Y] ( m^2 ).
384  C     zC     - Z-coordinate of center of cell f[Z]  C                  Note: In a cartesian framework zA is simply dx*dy,
385  C     zFace  - Z-coordinate of face of cell f[Z] (Pa).  C                      however we use zA to allow for non-globally
386        COMMON /GRID_R/  C                      orthogonal coordinate frames (with appropriate
387       &  dxC,dxF,dxG,dxV,dyC,dyF,dyG,dyU,dzC,dzF,  C                      metric terms).
388       &  H,HFacC,HFacW,HFacS,  C     rC        :: R-coordinate of center of cell f[Z] (units of r).
389       &  rdxC,rdxF,rdxG,rdxV,rdyC,rdyF,rdyG,rdyU,rdzC,rdzF,  C     rF        :: R-coordinate of face of cell f[Z] (units of r).
390       &  rH, rhFacC,rhFacW,rhFacS,  C - *HybSigm* - :: Hybrid-Sigma vert. Coord coefficients
391       &  saFac,xC,yC,zA,zC,zFace,  C     aHybSigmF    at level-interface (*HybSigmF) and level-center (*HybSigmC)
392       &  maskW,maskS  C     aHybSigmC    aHybSigm* = constant r part, bHybSigm* = sigma part, such as
393        real dxC     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     bHybSigmF    r(ij,k,t) = rLow(ij) + aHybSigm(k)*[rF(1)-rF(Nr+1)]
394        real dxF     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     bHybSigmC              + bHybSigm(k)*[eta(ij,t)+Ro_surf(ij) - rLow(ij)]
395        real dxG     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     dAHybSigF :: vertical increment of Hybrid-Sigma coefficient: constant r part,
396        real dxV     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     dAHybSigC    between interface (dAHybSigF) and between center (dAHybSigC)
397        real dyC     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     dBHybSigF :: vertical increment of Hybrid-Sigma coefficient: sigma part,
398        real dyF     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     dBHybSigC    between interface (dBHybSigF) and between center (dBHybSigC)
399        real dyG     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     tanPhiAtU :: tan of the latitude at U point. Used for spherical polar
400        real dyU     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C                  metric term in U equation.
401        real dzC     (1:Nz)  C     tanPhiAtV :: tan of the latitude at V point. Used for spherical polar
402        real dzF     (1:Nz)  C                  metric term in V equation.
403        real H       (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     angleCosC :: cosine of grid orientation angle relative to Geographic direction
404        real HFacC   (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)  C               at cell center: alpha=(Eastward_dir,grid_uVel_dir)=(North_d,vVel_d)
405        real HFacW   (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)  C     angleSinC :: sine   of grid orientation angle relative to Geographic direction
406        real HFacS   (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)  C               at cell center: alpha=(Eastward_dir,grid_uVel_dir)=(North_d,vVel_d)
407        real rdxC    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     u2zonDir  :: cosine of grid orientation angle at U point location
408        real rdxF    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     v2zonDir  :: minus sine of  orientation angle at V point location
409        real rdxG    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     fCori     :: Coriolis parameter at grid Center point
410        real rdxV    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     fCoriG    :: Coriolis parameter at grid Corner point
411        real rdyC    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     fCoriCos  :: Coriolis Cos(phi) parameter at grid Center point (for NH)
412        real rdyF    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  
413        real rdyG    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        COMMON /GRID_RS/
414        real rdyU    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)       &  dxC,dxF,dxG,dxV,dyC,dyF,dyG,dyU,
415        real rdzC    (1:Nz)       &  R_low, rLowW, rLowS,
416        real rdzF    (1:Nz)       &  Ro_surf, rSurfW, rSurfS,
417        real rh      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)       &  hFacC, hFacW, hFacS,
418        real rhFacC  (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)       &  recip_dxC,recip_dxF,recip_dxG,recip_dxV,
419        real rhFacW  (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)       &  recip_dyC,recip_dyF,recip_dyG,recip_dyU,
420        real rhFacS  (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)       &  recip_Rcol,
421        real saFac   (1:Nz)       &  recip_hFacC,recip_hFacW,recip_hFacS,
422        real xC      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)       &  xC,yC,rA,rAw,rAs,rAz,xG,yG,
423        real yC      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)       &  maskInC, maskInW, maskInS,
424        real zA      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)       &  maskC, maskW, maskS,
425        real zC      (1:Nz)       &  recip_rA,recip_rAw,recip_rAs,recip_rAz,
426        real zFace   (1:Nz+1)       &  drC, drF, recip_drC, recip_drF, rC, rF,
427        real maskW   (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)       &  aHybSigmF, bHybSigmF, aHybSigmC, bHybSigmC,
428        real maskS   (1-OLx:sNx+OLx,1-OLy:sNy+OLy,1:Nz,nSx,nSy)       &  dAHybSigF, dBHybSigF, dBHybSigC, dAHybSigC,
429         &  tanPhiAtU, tanPhiAtV,
430         &  angleCosC, angleSinC, u2zonDir, v2zonDir,
431         &  fCori, fCoriG, fCoriCos
432          _RS dxC            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
433          _RS dxF            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
434          _RS dxG            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
435          _RS dxV            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
436          _RS dyC            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
437          _RS dyF            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
438          _RS dyG            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
439          _RS dyU            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
440          _RS R_low          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
441          _RS rLowW          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
442          _RS rLowS          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
443          _RS Ro_surf        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
444          _RS rSurfW         (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
445          _RS rSurfS         (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
446          _RS hFacC          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
447          _RS hFacW          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
448          _RS hFacS          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
449          _RS recip_dxC      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
450          _RS recip_dxF      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
451          _RS recip_dxG      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
452          _RS recip_dxV      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
453          _RS recip_dyC      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
454          _RS recip_dyF      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
455          _RS recip_dyG      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
456          _RS recip_dyU      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
457          _RS recip_Rcol     (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
458          _RS recip_hFacC    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
459          _RS recip_hFacW    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
460          _RS recip_hFacS    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
461          _RS xC             (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
462          _RS xG             (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
463          _RS yC             (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
464          _RS yG             (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
465          _RS rA             (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
466          _RS rAw            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
467          _RS rAs            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
468          _RS rAz            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
469          _RS recip_rA       (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
470          _RS recip_rAw      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
471          _RS recip_rAs      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
472          _RS recip_rAz      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
473          _RS maskInC        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
474          _RS maskInW        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
475          _RS maskInS        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
476          _RS maskC          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
477          _RS maskW          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
478          _RS maskS          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
479          _RS drC            (Nr)
480          _RS drF            (Nr)
481          _RS recip_drC      (Nr)
482          _RS recip_drF      (Nr)
483          _RS rC             (Nr)
484          _RS rF             (Nr+1)
485          _RS aHybSigmF      (Nr+1)
486          _RS bHybSigmF      (Nr+1)
487          _RS aHybSigmC      (Nr)
488          _RS bHybSigmC      (Nr)
489          _RS dAHybSigF      (Nr)
490          _RS dBHybSigF      (Nr)
491          _RS dBHybSigC      (Nr+1)
492          _RS dAHybSigC      (Nr+1)
493          _RS tanPhiAtU      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
494          _RS tanPhiAtV      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
495          _RS angleCosC      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
496          _RS angleSinC      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
497          _RS u2zonDir       (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
498          _RS v2zonDir       (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
499          _RS fCori          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
500          _RS fCoriG         (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
501          _RS fCoriCos       (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
502    
503    #ifdef ALLOW_DEPTH_CONTROL
504    C--   COMMON /GRID_DEPTH_CTRL/ grid defining variables for Depth Control code.
505    C     xx_r_low  :: in TAF-sense active replacement of R_low
506          COMMON /GRID_DEPTH_CTRL/
507         &  xx_r_low
508          _RL xx_r_low       (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
509    #endif /* ALLOW_DEPTH_CONTROL */
510    
511  C--   COMMON /GRID_I/ Integer valued grid defining variables  C--   COMMON /GRID_I/ INTEGER valued grid defining variables.
512  C     iDep  - Index of last "non-land" cell for each column f[X,Y].  C     kSurfC  :: vertical index of the surface tracer cell
513    C     kSurfW  :: vertical index of the surface U point
514    C     kSurfS  :: vertical index of the surface V point
515    C     kLowC   :: index of the r-lowest "wet cell" (2D)
516    C IMPORTANT: ksurfC,W,S = Nr+1 and kLowC = 0 where the fluid column
517    C            is empty (continent)
518        COMMON /GRID_I/        COMMON /GRID_I/
519       &      iDep       &  kSurfC, kSurfW, kSurfS,
520        INTEGER iDep(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)       &  kLowC
521          INTEGER kSurfC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
522          INTEGER kSurfW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
523          INTEGER kSurfS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
524          INTEGER kLowC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
525    
526    C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.22