/[MITgcm]/MITgcm_contrib/ocean_inversion_project/code/CPP_OPTIONS.h
ViewVC logotype

Contents of /MITgcm_contrib/ocean_inversion_project/code/CPP_OPTIONS.h

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


Revision 1.2 - (show annotations) (download)
Tue Sep 23 04:34:23 2003 UTC (21 years, 10 months ago) by dimitri
Branch: MAIN
Changes since 1.1: +7 -6 lines
File MIME type: text/plain
o Mods and bug fixes to pkg/cal and pkg/exf needed for computation
  of tracer Green's fucntions for ocean inversion project.

1 C $Header: /usr/local/gcmpack/MITgcm_contrib/ocean_inversion_project/code/CPP_OPTIONS.h,v 1.1 2003/09/18 02:33:38 dimitri Exp $
2 C $Name: $
3
4 C
5 C CPP flags controlling which code in included in the files that
6 C will be compiled.
7 C
8
9 #define ALLOW_PTRACERS
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 #define 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 #define 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 zonal FFT filter code
39 #undef ALLOW_ZONAL_FILT
40
41 C o Include/exclude temperature 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_T_DIFFUSION_CODE
52 #ifdef INCLUDE_T_DIFFUSION_CODE
53 #define _LPT(a)a
54 #define _BHT(a)a
55 #endif
56 #ifndef INCLUDE_T_DIFFUSION_CODE
57 #define _LPT(a)
58 #define _BHT(a)
59 #endif
60
61 C o Include/exclude temperature forcing code
62 #define INCLUDE_T_FORCING_CODE
63
64 C o Include/exclude momentum advection code
65 #define INCLUDE_MOMENTUM_ADVECTION_CODE
66 #ifdef INCLUDE_MOMENTUM_ADVECTION_CODE
67 #define _ADM(a)a
68 #endif
69 #ifndef INCLUDE_MOMENTUM_ADVECTION_CODE
70 #define _ADM(a)
71 #endif
72
73 C o Include/exclude laplacian viscosity code
74 #define INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
75 #ifdef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
76 #define _LPM(a)a
77 #endif
78 #ifndef INCLUDE_LP_MOMENTUM_DIFFUSION_CODE
79 #define _LPM(a)
80 #endif
81
82 C o Include/exclude biharmonic viscosity code
83 #define INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
84 #ifdef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
85 #define _BHM(a)a
86 #endif
87 #ifndef INCLUDE_BH_MOMENTUM_DIFFUSION_CODE
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 #define INCLUDE_MOMENTUM_FORCING_CODE
102
103 C o Include/exclude momentum eqn metric terms code
104 #define INCLUDE_MOMENTUM_METRIC_TERM_CODE
105
106 C o Include/exclude phi_hyd calculation code
107 #define INCLUDE_PHIHYD_CALCULATION_CODE
108
109 C o Include/exclude call to S/R CONVECT
110 #undef INCLUDE_CONVECT_CALL
111
112 C o Include/exclude call to S/R CALC_DIFFUSIVITY
113 #define INCLUDE_CALC_DIFFUSIVITY_CALL
114
115 C o Allow nonHydrostatic code
116 #undef ALLOW_NONHYDROSTATIC
117
118 C o Use "natural" boundary conditions for salinity
119 C instead of the "virtual salt flux"
120 #undef USE_NATURAL_BCS
121
122 C o Use "Exact Convervation" of fluid in Free-Surface formulation
123 C so that d/dt(eta) is exactly equal to - Div.Transport
124 #define EXACT_CONSERV
125
126 C o Allow the use of Non-Linear Free-Surface formulation
127 C this implies that surface thickness (hFactors) vary with time
128 #undef NONLIN_FRSURF
129
130 C o Use "OLD" UV discretisation near boundaries (*not* recommended)
131 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
132 C because the old code did not have no-slip BCs
133 #undef OLD_ADV_BCS
134
135 C o Use "OLD" UV geometry on sphere (definately *NOT* recommended)
136 C Note - only works with #undef NO_SLIP_LATERAL in calc_mom_rhs.F
137 C because the old code did not have no-slip BCs
138 #undef OLD_UV_GEOMETRY
139
140 C o Execution environment support options
141 #include "CPP_EEOPTIONS.h"
142
143 C o Include/exclude the external forcing package. To use this package,
144 C you have to include the calendar tool as well. KPP can be switched
145 C on or off. The implementation automatically takes care of this.
146 #define INCLUDE_EXTERNAL_FORCING_PACKAGE
147 #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
148 # include "ECCO_CPPOPTIONS.h"
149 #endif

  ViewVC Help
Powered by ViewVC 1.1.22