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

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

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


Revision 1.3 - (hide annotations) (download)
Thu Oct 23 04:41:41 2003 UTC (20 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51n_pre, checkpoint51n_post
Branch point for: checkpoint51n_branch
Changes since 1.2: +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 edhill 1.3 C
2     C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/global_ocean.90x40x15/code_ad_vecinv/Attic/CPP_OPTIONS.h,v 1.3 2003/10/23 04:41:41 edhill Exp $
3     C $Name: $
4    
5     #include "AD_CONFIG.h"
6    
7 heimbach 1.1 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     #define 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     #undef 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 "OLD" UV discretisation near boundaries (*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_ADV_BCS
132    
133     C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
134     C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
135     C because the old code did not have no-slip BCs
136     #undef OLD_UV_GEOMETRY
137    
138     C o Read/write of checkpoint files for restarting.
139     #undef OLD_STYLE_WITH_MANY_FILES
140    
141     C o Exact volume conservation
142 heimbach 1.2 #define EXACT_CONSERV
143 heimbach 1.1
144     C o Add passive tracer advection routines
145     #undef ALLOW_PASSIVE_TRACER
146    
147     C o Include/exclude monitor package
148     #define EXCLUDE_MONITOR
149    
150     C o Execution environment support options
151     #include "CPP_EEOPTIONS.h"
152    
153     C o Include/exclude code specific to the ECCO/SEALION version.
154     #undef INCLUDE_ECCO_PACKAGE
155     #define ALLOW_ADJOINT_RUN
156     #define ALLOW_GRADIENT_CHECK
157     #undef ALLOW_TANGENTLINEAR_RUN
158    
159     #if (defined (INCLUDE_ECCO_PACKAGE) || \
160     defined (ALLOW_ADJOINT_RUN) || \
161     defined (ALLOW_TANGENTLINEAR_RUN))
162     #include "ECCO_CPPOPTIONS.h"
163     #endif
164    
165    
166    

  ViewVC Help
Powered by ViewVC 1.1.22