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