/[MITgcm]/MITgcm/verification/hs94.1x64x5/adcode/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/hs94.1x64x5/adcode/CPP_OPTIONS.h

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


Revision 1.1 - (show annotations) (download)
Thu Nov 8 20:47:17 2001 UTC (22 years, 5 months ago) by heimbach
Branch: MAIN
File MIME type: text/plain
Preparing verification exp. for adjoint of Held-Suarez
(in adcode/).

1 C $Header: /u/gcmpack/models/MITgcmUV/verification/carbon/code/CPP_OPTIONS.h,v 1.5 2001/09/28 02:26:57 adcroft Exp $
2 C
3 C CPP flags controlling which code in included in the files that
4 C will be compiled.
5
6 C o Include/exclude code for AIM package
7 #undef ALLOW_AIM
8
9 C o Include/exclude code for GM/Redi parameterization
10 #undef ALLOW_GMREDI
11
12 C o Include/exclude code for KPP mixing scheme
13 #undef ALLOW_KPP
14
15 C o Shortwave heating as extra term in external_forcing.F
16 #ifdef ALLOW_KPP
17 #define SHORTWAVE_HEATING
18 #endif
19
20 C o Include/exclude code for Shapiro filters
21 #define ALLOW_SHAP_FILT
22
23 C o Include/exclude code for C-D grid method of integrating the
24 C coriolis terms
25 #undef INCLUDE_CD_CODE
26
27 C o Include/exclude code for open-boundary conditions
28 #undef ALLOW_OBCS
29
30 C o Include/exclude diagnostics package interface code
31 #define ALLOW_TIMEAVE
32
33 C o Include/exclude latitude circle FFT filter
34 #undef ALLOW_ZONAL_FILT
35
36 C o Include/exclude temperature advection code
37 cph
38 #define INCLUDE_TR1_ADVECTION_CODE
39 #define INCLUDE_T_ADVECTION_CODE
40 #ifdef INCLUDE_T_ADVECTION_CODE
41 #define _ADT(a)a
42 #endif
43 #ifndef INCLUDE_T_ADVECTION_CODE
44 #define _ADT(a)
45 #endif
46
47 C o Include/exclude temperature diffusion code
48 #define INCLUDE_TR1_DIFFUSION_CODE
49 #define INCLUDE_T_DIFFUSION_CODE
50 #ifdef INCLUDE_T_DIFFUSION_CODE
51 #define _LPT(a)a
52 #define _BHT(a)a
53 #endif
54 #ifndef INCLUDE_T_DIFFUSION_CODE
55 #define _LPT(a)
56 #define _BHT(a)
57 #endif
58
59 C o Include/exclude temperature forcing code
60 cph
61 #undef INCLUDE_TR1_FORCING_CODE
62 #define INCLUDE_T_FORCING_CODE
63
64 C o Include/exclude momentum advection code
65 cph
66 #define INCLUDE_MOMENTUM_ADVECTION_CODE
67 #ifdef INCLUDE_MOMENTUM_ADVECTION_CODE
68 #define _ADM(a)a
69 #endif
70 #ifndef INCLUDE_MOMENTUM_ADVECTION_CODE
71 #define _ADM(a)
72 #endif
73
74 C o Include/exclude laplacian viscosity code
75 #define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
76 #ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
77 #define _LPM(a)a
78 #endif
79 #ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
80 #define _LPM(a)
81 #endif
82
83 C o Include/exclude biharmonic viscosity code
84 #define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
85 #ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
86 #define _BHM(a)a
87 #else
88 #define _BHM(a)
89 #endif
90
91 C o Include/exclude gradient of phy_hyd code
92 #define INCLUDE_GRADPH_CODE
93 #ifdef INCLUDE_GRADPH_CODE
94 #define _PHM(a)a
95 #endif
96 #ifndef INCLUDE_GRADPH_CODE
97 #define _PHM(a)
98 #endif
99
100 C o Include/exclude momentum forcing code
101 cph
102 #define INCLUDE_MOMENTUM_FORCING_CODE
103
104 C o Include/exclude momentum eqn metric terms code
105 #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
106
107 C o Include/exclude phi_hyd calculation code
108 #define INCLUDE_PHIHYD_CALCULATION_CODE
109
110 C o Include/exclude call to S/R CONVECT
111 #define INCLUDE_CONVECT_CALL
112
113 C o Include/exclude call to S/R CALC_DIFFUSIVITY
114 #define INCLUDE_CALC_DIFFUSIVITY_CALL
115
116 C o Allow nonHydrostatic code
117 #undef ALLOW_NONHYDROSTATIC
118
119 C o Use "natural" boundary conditions for salinity
120 C instead of the "virtual salt flux"
121 #undef USE_NATURAL_BCS
122
123 C o Use "Exact Convervation" of fluid in Free-Surface formulation
124 C so that d/dt(eta) is exactly equal to - Div.Transport
125 #define EXACT_CONSERV
126
127 C o Allow the use of Non-Linear Free-Surface formulation
128 C this implies that surface thickness (hFactors) vary with time
129 #undef NONLIN_FRSURF
130
131 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
132 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
133 C because the old code did not have no-slip BCs
134 #undef OLD_ADV_BCS
135
136 C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
137 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
138 C because the old code did not have no-slip BCs
139 #undef OLD_UV_GEOMETRY
140
141 C o Read/write of checkpoint files for restarting.
142 #undef OLD_STYLE_WITH_MANY_FILES
143
144 C o Add passive tracer advection routines
145 #define ALLOW_PASSIVE_TRACER
146
147 C o Execution environment support options
148 #include "CPP_EEOPTIONS.h"
149
150 C o Include/exclude code specific to the ECCO/SEALION version.
151 #undef INCLUDE_ECCO_PACKAGE
152 #define ALLOW_ADJOINT_RUN
153 #define ALLOW_GRADIENT_CHECK
154
155 #if (defined (INCLUDE_ECCO_PACKAGE) || defined (ALLOW_ADJOINT_RUN))
156 #include "ECCO_CPPOPTIONS.h"
157 #endif
158
159
160

  ViewVC Help
Powered by ViewVC 1.1.22