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