/[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.4 - (show annotations) (download)
Thu Oct 23 04:41:41 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51n_pre, checkpoint51n_post
Branch point for: checkpoint51n_branch
Changes since 1.3: +6 -1 lines
File MIME type: text/plain
 o added the [#include "AD_CONFIG.h"] statement to all files that need
   it for adjoint/tl #defines
 o re-worked the build logic in genmake2 to support AD_CONFIG.h
 o removed tools/genmake since it no longer works

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

  ViewVC Help
Powered by ViewVC 1.1.22