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

Contents of /MITgcm/model/inc/GRID_MACROS.h

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


Revision 1.10 - (show annotations) (download)
Mon Nov 30 23:45:24 1998 UTC (25 years, 5 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19, checkpoint28, checkpoint29, checkpoint20, checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint27, branch-atmos-merge-freeze, branch-atmos-merge-start, checkpoint26, branch-atmos-merge-shapiro, checkpoint33, checkpoint32, checkpoint31, checkpoint30, checkpoint34, branch-atmos-merge-zonalfilt, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, branch-atmos-merge-phase6, branch-atmos-merge-phase1, branch-atmos-merge-phase3, branch-atmos-merge-phase2
Branch point for: branch-atmos-merge
Changes since 1.9: +3 -1 lines
File MIME type: text/plain
These are changes concerning geometry on a sphere and BCs:
 o The calculation of RA used to be wrong if delX != delY.
 o The details of the cell geometry is now consistent with the
   "classic" CM-5 code.
 o Advection near boundaries is now correct.
 o Lateral no-slip/free-slip now works.
 o Vertical no-slip/free-slip now works properly.
 o del^4 viscosity (with no-slip/free-slip) now works properly.

1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/GRID_MACROS.h,v 1.9 1998/08/15 17:02:02 cnh Exp $
2 C
3 C /==========================================================\
4 C | GRID_MACROS.h |
5 C |==========================================================|
6 C | These macros are used to substitute definitions for |
7 C | GRID.h variables for particular configurations. |
8 C | In setting these variables the following convention |
9 C | applies. |
10 C | undef phi_CONST - Indicates the variable phi is fixed |
11 C | in X, Y and Z. |
12 C | undef phi_FX - Indicates the variable phi only |
13 C | varies in X (i.e.not in X or Z). |
14 C | undef phi_FY - Indicates the variable phi only |
15 C | varies in Y (i.e.not in X or Z). |
16 C | undef phi_FXY - Indicates the variable phi only |
17 C | varies in X and Y ( i.e. not Z). |
18 C \==========================================================/
19
20 #undef DXC_CONST
21 #undef DXC_FX
22 #undef DXC_FY
23 #include "DXC_MACROS.h"
24
25 #undef DXF_CONST
26 #undef DXF_FX
27 #undef DXF_FY
28 #include "DXF_MACROS.h"
29
30 #undef DXG_CONST
31 #undef DXG_FX
32 #undef DXG_FY
33 #include "DXG_MACROS.h"
34
35 #undef DXV_CONST
36 #undef DXV_FX
37 #undef DXV_FY
38 #include "DXV_MACROS.h"
39
40 #undef DYC_CONST
41 #undef DYC_FX
42 #undef DYC_FY
43 #include "DYC_MACROS.h"
44
45 #undef DYF_CONST
46 #undef DYF_FX
47 #undef DYF_FY
48 #include "DYF_MACROS.h"
49
50 #undef DYG_CONST
51 #undef DYG_FX
52 #undef DYG_FY
53 #include "DYG_MACROS.h"
54
55 #undef DYU_CONST
56 #undef DYU_FX
57 #undef DYU_FY
58 #include "DYU_MACROS.h"
59
60 #undef HFACC_CONST
61 #undef HFACC_FX
62 #undef HFACC_FY
63 #undef HFACC_FXY
64 #include "HFACC_MACROS.h"
65
66 #undef HFACS_CONST
67 #undef HFACS_FX
68 #undef HFACS_FY
69 #undef HFACS_FXY
70 #include "HFACS_MACROS.h"
71
72 #undef HFACW_CONST
73 #undef HFACW_FX
74 #undef HFACW_FY
75 #undef HFACW_FXY
76 #include "HFACW_MACROS.h"
77
78 #undef RECIP_DXC_CONST
79 #undef RECIP_DXC_FX
80 #undef RECIP_DXC_FY
81 #include "RECIP_DXC_MACROS.h"
82
83 #undef RECIP_DXF_CONST
84 #undef RECIP_DXF_FX
85 #undef RECIP_DXF_FY
86 #include "RECIP_DXF_MACROS.h"
87
88 #undef RECIP_DXG_CONST
89 #undef RECIP_DXG_FX
90 #undef RECIP_DXG_FY
91 #include "RECIP_DXG_MACROS.h"
92
93 #undef RECIP_DXV_CONST
94 #undef RECIP_DXV_FX
95 #undef RECIP_DXV_FY
96 #include "RECIP_DXV_MACROS.h"
97
98 #undef RECIP_DYC_CONST
99 #undef RECIP_DYC_FX
100 #undef RECIP_DYC_FY
101 #include "RECIP_DYC_MACROS.h"
102
103 #undef RECIP_DYF_CONST
104 #undef RECIP_DYF_FX
105 #undef RECIP_DYF_FY
106 #include "RECIP_DYF_MACROS.h"
107
108 #undef RECIP_DYG_CONST
109 #undef RECIP_DYG_FX
110 #undef RECIP_DYG_FY
111 #include "RECIP_DYG_MACROS.h"
112
113 #undef RECIP_DYU_CONST
114 #undef RECIP_DYU_FX
115 #undef RECIP_DYU_FY
116 #include "RECIP_DYU_MACROS.h"
117
118 #undef RECIP_HFACC_CONST
119 #undef RECIP_HFACC_FX
120 #undef RECIP_HFACC_FY
121 #undef RECIP_HFACC_FXY
122 #include "RECIP_HFACC_MACROS.h"
123
124 #undef RECIP_HFACS_CONST
125 #undef RECIP_HFACS_FX
126 #undef RECIP_HFACS_FY
127 #undef RECIP_HFACS_FXY
128 #include "RECIP_HFACS_MACROS.h"
129
130 #undef RECIP_HFACW_CONST
131 #undef RECIP_HFACW_FX
132 #undef RECIP_HFACW_FY
133 #undef RECIP_HFACW_FXY
134 #include "RECIP_HFACW_MACROS.h"
135
136 #undef XC_CONST
137 #undef XC_FX
138 #undef XC_FY
139 #include "XC_MACROS.h"
140
141 #undef YC_CONST
142 #undef YC_FX
143 #undef YC_FY
144 #include "YC_MACROS.h"
145
146 #undef RA_CONST
147 #undef RA_FX
148 #undef RA_FY
149 #include "RA_MACROS.h"
150 #include "RAW_MACROS.h"
151 #include "RAS_MACROS.h"
152
153 #undef MASKW_CONST
154 #undef MASKW_FX
155 #undef MASKW_FY
156 #undef MASKW_FXY
157 #include "MASKW_MACROS.h"
158
159 #undef MASKS_CONST
160 #undef MASKS_FX
161 #undef MASKS_FY
162 #undef MASKS_FXY
163 #include "MASKS_MACROS.h"
164
165 #undef TANPHIATU_CONST
166 #undef TANPHIATU_FX
167 #undef TANPHIATU_FY
168 #include "TANPHIATU_MACROS.h"
169
170 #undef TANPHIATV_CONST
171 #undef TANPHIATV_FX
172 #undef TANPHIATV_FY
173 #include "TANPHIATV_MACROS.h"

  ViewVC Help
Powered by ViewVC 1.1.22