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