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