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

Annotation 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.3 - (hide annotations) (download)
Fri Oct 24 05:52:05 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51o_pre
Changes since 1.2: +3 -23 lines
File MIME type: text/plain
 o check-in of all PH's changes: continued efforts to get the adjoint
   working with genmake2

1 heimbach 1.1 C
2 edhill 1.3 C $Header: /u/u3/gcmpack/MITgcm/verification/front_relax/code_ad/CPP_OPTIONS.h,v 1.2 2003/10/23 04:41:41 edhill Exp $
3     C $Name: $
4 heimbach 1.1
5 edhill 1.2 #include "AD_CONFIG.h"
6    
7     C
8 heimbach 1.1 C CPP flags controlling which code in included in the files that
9     C will be compiled.
10    
11 edhill 1.3 #include "PACKAGES_CONFIG.h"
12 heimbach 1.1
13     C o Shortwave heating as extra term in external_forcing.F
14     #ifdef ALLOW_KPP
15     #define SHORTWAVE_HEATING
16     #endif
17    
18     C o Include/exclude code for C-D grid method of integrating the
19     C coriolis terms
20     #undef INCLUDE_CD_CODE
21    
22     C o Include/exclude temperature advection code
23     #define INCLUDE_TR1_ADVECTION_CODE
24     #define INCLUDE_T_ADVECTION_CODE
25     #ifdef INCLUDE_T_ADVECTION_CODE
26     #define _ADT(a)a
27     #endif
28     #ifndef INCLUDE_T_ADVECTION_CODE
29     #define _ADT(a)
30     #endif
31    
32     C o Include/exclude temperature diffusion code
33     #define INCLUDE_TR1_DIFFUSION_CODE
34     #define INCLUDE_T_DIFFUSION_CODE
35     #ifdef INCLUDE_T_DIFFUSION_CODE
36     #define _LPT(a)a
37     #define _BHT(a)a
38     #endif
39     #ifndef INCLUDE_T_DIFFUSION_CODE
40     #define _LPT(a)
41     #define _BHT(a)
42     #endif
43    
44     C o Include/exclude temperature forcing code
45     #define INCLUDE_T_FORCING_CODE
46    
47     C o Include/exclude momentum advection code
48     #define INCLUDE_MOMENTUM_ADVECTION_CODE
49     #ifdef INCLUDE_MOMENTUM_ADVECTION_CODE
50     #define _ADM(a)a
51     #endif
52     #ifndef INCLUDE_MOMENTUM_ADVECTION_CODE
53     #define _ADM(a)
54     #endif
55    
56     C o Include/exclude laplacian viscosity code
57     #define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
58     #ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
59     #define _LPM(a)a
60     #endif
61     #ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
62     #define _LPM(a)
63     #endif
64    
65     C o Include/exclude biharmonic viscosity code
66     #define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
67     #ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
68     #define _BHM(a)a
69     #endif
70     #ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
71     #define _BHM(a)
72     #endif
73    
74     C o Include/exclude gradient of phy_hyd code
75     #define INCLUDE_GRADPH_CODE
76     #ifdef INCLUDE_GRADPH_CODE
77     #define _PHM(a)a
78     #endif
79     #ifndef INCLUDE_GRADPH_CODE
80     #define _PHM(a)
81     #endif
82    
83     C o Include/exclude momentum forcing code
84     #define INCLUDE_MOMENTUM_FORCING_CODE
85    
86     C o Include/exclude momentum eqn metric terms code
87     #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
88    
89     C o Include/exclude phi_hyd calculation code
90     #define INCLUDE_PHIHYD_CALCULATION_CODE
91    
92     C o Include/exclude call to S/R CONVECT
93     #define INCLUDE_CONVECT_CALL
94    
95     C o Include/exclude call to S/R CALC_DIFFUSIVITY
96     #define INCLUDE_CALC_DIFFUSIVITY_CALL
97    
98     C o Allow nonHydrostatic code
99     #undef ALLOW_NONHYDROSTATIC
100    
101     C o Use "natural" boundary conditions for salinity
102     C instead of the "virtual salt flux"
103     #undef USE_NATURAL_BCS
104    
105     C o Use "Exact Convervation" of fluid in Free-Surface formulation
106     C so that d/dt(eta) is exactly equal to - Div.Transport
107     #define EXACT_CONSERV
108    
109     C o Allow the use of Non-Linear Free-Surface formulation
110     C this implies that surface thickness (hFactors) vary with time
111     #undef NONLIN_FRSURF
112    
113     C o Use "OLD" UV discretisation near boundaries (*not* recommended)
114     C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
115     C because the old code did not have no-slip BCs
116     #undef OLD_ADV_BCS
117    
118     C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
119     C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
120     C because the old code did not have no-slip BCs
121     #undef OLD_UV_GEOMETRY
122    
123     C o Execution environment support options
124     #include "CPP_EEOPTIONS.h"
125    
126     C o Add passive tracer advection routines
127     #define ALLOW_PASSIVE_TRACER
128    
129     C o Include/exclude monitor package
130     #define EXCLUDE_MONITOR
131    
132     C o Include/exclude code specific to the ECCO/SEALION version.
133     #undef INCLUDE_ECCO_PACKAGE
134     #define ALLOW_ADJOINT_RUN
135     #define ALLOW_GRADIENT_CHECK
136     #undef ALLOW_TANGENTLINEAR_RUN
137    
138     #if (defined (INCLUDE_ECCO_PACKAGE) || \
139     defined (ALLOW_ADJOINT_RUN) || \
140     defined (ALLOW_TANGENTLINEAR_RUN))
141     #include "ECCO_CPPOPTIONS.h"
142     #endif
143    

  ViewVC Help
Powered by ViewVC 1.1.22