/[MITgcm]/MITgcm/verification/global_ocean.90x40x15/code_ad/CPP_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/global_ocean.90x40x15/code_ad/CPP_OPTIONS.h

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


Revision 1.2 - (hide annotations) (download)
Sat Jul 13 03:50:50 2002 UTC (21 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint47e_post, checkpoint46l_post, checkpoint46g_pre, checkpoint46f_post, checkpoint46b_post, checkpoint46l_pre, checkpoint47d_pre, checkpoint47a_post, checkpoint47d_post, checkpoint46d_pre, checkpoint46j_pre, checkpoint46a_post, checkpoint47g_post, checkpoint46j_post, checkpoint46k_post, checkpoint46b_pre, branch-exfmods-tag, checkpoint46e_pre, checkpoint46c_pre, checkpoint46, checkpoint47b_post, checkpoint46h_pre, checkpoint46m_post, checkpoint46a_pre, checkpoint46g_post, checkpoint47f_post, checkpoint46i_post, checkpoint46c_post, checkpoint46e_post, checkpoint47, checkpoint46h_post, checkpoint46d_post
Branch point for: branch-exfmods-curt
Changes since 1.1: +161 -0 lines
File MIME type: text/plain
Merging from release1_p5.
o New setup for adjoint of global_ocean

1 heimbach 1.2 C $Header: /u/gcmpack/MITgcm/verification/global_ocean.90x40x15/code_ad/Attic/CPP_OPTIONS.h,v 1.1.2.1 2002/05/20 23:55:46 heimbach 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     #define 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     #undef 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     #undef 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 Exact volume conservation
137     #undef EXACT_CONSERV
138    
139     C o Add passive tracer advection routines
140     #undef ALLOW_PASSIVE_TRACER
141    
142     C o Include/exclude monitor package
143     #define EXCLUDE_MONITOR
144    
145     C o Execution environment support options
146     #include "CPP_EEOPTIONS.h"
147    
148     C o Include/exclude code specific to the ECCO/SEALION version.
149     #undef INCLUDE_ECCO_PACKAGE
150     #define ALLOW_ADJOINT_RUN
151     #define ALLOW_GRADIENT_CHECK
152     #undef ALLOW_TANGENTLINEAR_RUN
153    
154     #if (defined (INCLUDE_ECCO_PACKAGE) || \
155     defined (ALLOW_ADJOINT_RUN) || \
156     defined (ALLOW_TANGENTLINEAR_RUN))
157     #include "ECCO_CPPOPTIONS.h"
158     #endif
159    
160    
161    

  ViewVC Help
Powered by ViewVC 1.1.22