/[MITgcm]/MITgcm/tutorial_examples/tracer_adjoint_sensitivity/code/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/tutorial_examples/tracer_adjoint_sensitivity/code/CPP_OPTIONS.h

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


Revision 1.1.4.1 - (show annotations) (download)
Tue Feb 26 16:12:09 2002 UTC (19 years, 10 months ago) by adcroft
Branch: release1
CVS Tags: release1_p12, release1_p13, release1_p10, release1_p11, release1_p16, release1_p17, release1_p14, release1_p15, release1_p8, release1_p9, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_p13_pre, release1_chkpt44d_post, release1_p12_pre
Branch point for: release1_50yr
Changes since 1.1: +152 -0 lines
File MIME type: text/plain
Added tutorials, following sequenct of changes made by CNH on the
branch "release1-branch". The follow directories with tutorial
code/data were created:

  tutorial_examples/held_suarez_atmosphere/
  tutorial_examples/baroclinic_gyre_on_a_sphere/
  tutorial_examples/nonhydrostatic_deep_convection/
  tutorial_examples/barotropic_gyre_in_a_box/
  tutorial_examples/nonhydrostatic_plume_on_slope/
  tutorial_examples/global_ocean_circulation/
  tutorial_examples/tracer_adjoint_sensitivity/

No other changes were made (i.e. all other directories and code are
untouched).

1 C $Header: /u/gcmpack/MITgcm/tutorial_examples/tracer_adjoint_sensitivity/code/Attic/CPP_OPTIONS.h,v 1.1.2.1 2002/01/14 17:02:54 cnh 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 #define 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 #undef ALLOW_SHAP_FILT
22
23 C o Include/exclude code for C-D grid method of integrating the
24 C coriolis terms
25 #define 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 "OLD" UV discretisation near boundaries (*not* recommended)
124 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
125 C because the old code did not have no-slip BCs
126 #undef OLD_ADV_BCS
127
128 C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
129 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
130 C because the old code did not have no-slip BCs
131 #undef OLD_UV_GEOMETRY
132
133 C o Read/write of checkpoint files for restarting.
134 #undef OLD_STYLE_WITH_MANY_FILES
135
136 C o Add passive tracer advection routines
137 #define ALLOW_PASSIVE_TRACER
138
139 C o Execution environment support options
140 #include "CPP_EEOPTIONS.h"
141
142 C o Include/exclude code specific to the ECCO/SEALION version.
143 #undef INCLUDE_ECCO_PACKAGE
144 #define ALLOW_ADJOINT_RUN
145 #define ALLOW_GRADIENT_CHECK
146
147 #if (defined (INCLUDE_ECCO_PACKAGE) || defined (ALLOW_ADJOINT_RUN))
148 #include "ECCO_CPPOPTIONS.h"
149 #endif
150
151
152

  ViewVC Help
Powered by ViewVC 1.1.22