/[MITgcm]/MITgcm/verification/front_relax/code_ad/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/front_relax/code_ad/CPP_OPTIONS.h

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


Revision 1.1 - (show annotations) (download)
Mon Sep 16 18:18:38 2002 UTC (21 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint51k_post, checkpoint47e_post, checkpoint46l_post, checkpoint47c_post, checkpoint50c_post, checkpoint46f_post, checkpoint48e_post, checkpoint50c_pre, checkpoint48c_post, checkpoint51l_post, checkpoint48i_post, checkpoint46l_pre, checkpoint50d_pre, checkpoint51, checkpoint50, checkpoint50d_post, checkpoint50b_pre, checkpoint51f_post, checkpoint48b_post, checkpoint51d_post, checkpoint48c_pre, checkpoint47d_pre, checkpoint47a_post, checkpoint48d_pre, checkpoint51j_post, checkpoint47i_post, checkpoint47d_post, checkpoint48d_post, checkpoint48f_post, checkpoint46j_pre, checkpoint51l_pre, checkpoint48h_post, checkpoint51b_pre, checkpoint47g_post, checkpoint46j_post, checkpoint51h_pre, checkpoint46k_post, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, checkpoint47j_post, branch-exfmods-tag, branchpoint-genmake2, checkpoint51i_post, checkpoint51b_post, checkpoint51c_post, checkpoint47b_post, checkpoint46m_post, checkpoint50g_post, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51i_pre, checkpoint48a_post, checkpoint47f_post, checkpoint50e_post, checkpoint46i_post, checkpoint51e_post, checkpoint47, checkpoint48, checkpoint49, checkpoint51f_pre, checkpoint47h_post, checkpoint51g_post, checkpoint50b_post, checkpoint51m_post, checkpoint51a_post, checkpoint48g_post
Branch point for: branch-exfmods-curt, branch-genmake2, tg2-branch
File MIME type: text/plain
Adding adjoint setup for front_relax experiment.

1 C $Header: /u/gcmpack/MITgcm/verification/front_relax/code/CPP_OPTIONS.h,v 1.7 2001/05/29 14:01:57 adcroft Exp $
2 C $Name: $
3 C
4
5 C
6 C CPP flags controlling which code in included in the files that
7 C will be compiled.
8 C
9
10 C o Include/exclude code for AIM package
11 #undef ALLOW_AIM
12
13 C o Include/exclude code for GM/Redi parameterization
14 #define ALLOW_GMREDI
15
16 C o Include/exclude code for KPP mixing scheme
17 #undef ALLOW_KPP
18
19 C o Shortwave heating as extra term in external_forcing.F
20 #ifdef ALLOW_KPP
21 #define SHORTWAVE_HEATING
22 #endif
23
24 C o Include/exclude code for Shapiro filters
25 #define ALLOW_SHAP_FILT
26
27 C o Include/exclude code for C-D grid method of integrating the
28 C coriolis terms
29 #undef INCLUDE_CD_CODE
30
31 C o Include/exclude code for open-boundary conditions
32 #undef ALLOW_OBCS
33
34 C o Include/exclude diagnostics package interface code
35 #undef ALLOW_TIMEAVE
36
37 C o Include/exclude zonal FFT filter code
38 #undef ALLOW_ZONAL_FILT
39
40 C o Include/exclude temperature advection code
41 #define INCLUDE_TR1_ADVECTION_CODE
42 #define INCLUDE_T_ADVECTION_CODE
43 #ifdef INCLUDE_T_ADVECTION_CODE
44 #define _ADT(a)a
45 #endif
46 #ifndef INCLUDE_T_ADVECTION_CODE
47 #define _ADT(a)
48 #endif
49
50 C o Include/exclude temperature diffusion code
51 #define INCLUDE_TR1_DIFFUSION_CODE
52 #define INCLUDE_T_DIFFUSION_CODE
53 #ifdef INCLUDE_T_DIFFUSION_CODE
54 #define _LPT(a)a
55 #define _BHT(a)a
56 #endif
57 #ifndef INCLUDE_T_DIFFUSION_CODE
58 #define _LPT(a)
59 #define _BHT(a)
60 #endif
61
62 C o Include/exclude temperature forcing code
63 #define INCLUDE_T_FORCING_CODE
64
65 C o Include/exclude momentum advection code
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 #endif
88 #ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
89 #define _BHM(a)
90 #endif
91
92 C o Include/exclude gradient of phy_hyd code
93 #define INCLUDE_GRADPH_CODE
94 #ifdef INCLUDE_GRADPH_CODE
95 #define _PHM(a)a
96 #endif
97 #ifndef INCLUDE_GRADPH_CODE
98 #define _PHM(a)
99 #endif
100
101 C o Include/exclude momentum forcing code
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 Execution environment support options
142 #include "CPP_EEOPTIONS.h"
143
144 C o Add passive tracer advection routines
145 #define ALLOW_PASSIVE_TRACER
146
147 C o Include/exclude monitor package
148 #define EXCLUDE_MONITOR
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 #undef ALLOW_TANGENTLINEAR_RUN
155
156 #if (defined (INCLUDE_ECCO_PACKAGE) || \
157 defined (ALLOW_ADJOINT_RUN) || \
158 defined (ALLOW_TANGENTLINEAR_RUN))
159 #include "ECCO_CPPOPTIONS.h"
160 #endif
161

  ViewVC Help
Powered by ViewVC 1.1.22